Visit Gigasoft's Web Site
 ProEssentials v9 Help

PEprintgraph Method

Scope All ProEssentials Interfaces

 

PEprintgraph(nWidth As Long, nHeight As Long, nOrient As Integer) As Boolean

 

Parameter

Description

nWidth

Width in 1/100th millimeters.

nHeight

Height in 1/100th millimeters.

nOrient

0=Driver Default, 1=Landscape, 2=Portrait.

 

This function prints the objects image to the operating systems default printer.

 

If nWidth and nHeight are both zero, the image will print full page, else the image is centered on page.

 

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: PEprintgraphEx, PElaunchprintdialog, OCX Methods