Visit Gigasoft's Web Site
 ProEssentials v9 Help

PEprintgraphEx

BOOL PEprintgraphEx(hObject, hDC, nWidth, nHeight, nOriginX, nOriginY)

 

HWND 

hObject

The handle returned from PEcreate.

INT 

hDC

Target device context.

INT 

nWidth

Width in 1/100th millimeters.

INT 

nHeight

Height in 1/100th millimeters.

INT 

nOriginX

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

INT 

nOriginY

Top-Left vertical location of image, 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.

 

Returns

NonZero if the function was successful, otherwise Zero.

 

Comments

.NET developers, see PeFunction.PrintGraphEx

 

Ocx|Vcl developers, see the PEprintgraphEx method .

 

In Delphi, use...

PEprintgraphEx as defined in PEGRPAPI.PAS

 

See Also: PEprintgraph, PElaunchprintdialog, Chapter 5 Printing within VC , PrintDpi, PrintTechnology