Visit Gigasoft's Web Site
 ProEssentials v9 Help

PEprintgraphEx Method

Scope All ProEssentials Interfaces

 

PEprintgraphEx(nDC As Long, nWidth As Long, nHeight As Long, nOriginX As Long, nOriginY As Long) As Boolean

 

Parameter

Description

nDC

Handle to a target device context.

nWidth

Width in 1/100th millimeters.

nHeight

Height in 1/100th millimeters.

nOriginX

Top-Left horizontal location in 1/100th millimeters.

nOriginY

Top-Left vertical location in 1/100th millimeters.

 

This function sends GDI or GDIPLUS commands to the target device context (hDC) to place the object's image within the printer's page at the size and position specified. The current state of PrintDpi and PrintTechnology properties will control which system calls are used to transfer the image.

 

Comments

See Chapter 3 for printing within Visual Basic 6.

 

Using the OCX interface, you can call this function as follows...

Pego1.PEactions = PRINT_GRAPH

 

See Also: PEprintgraph, PElaunchprintdialog, OCX Methods