Visit Gigasoft's Web Site
 ProEssentials v9 Help

PrintGraph

Scope

Pego, Pesgo, Pe3do, Pepso, Pepco

 

public int PeFunction.PrintGraph ( int width, int height, ProEssentials.Enums.DefOrientation orient )

Parameter

Description

width

Width in 1/100th millimeters.

height

Height in 1/100th millimeters.

orient

public enum DefOrientation
{
    DriverDefault = 0,
    LandScape = 1,
    Portrait = 2,
}

 

This function prints the objects image to the operating systems default printer. If width and height are both zero, the image will print full page, else the image is centered on page.

 

Returns

NonZero if the function was successful, otherwise Zero.

 

Comments

For printing within .NET, see Chapter 2.

 

PeFunction.PrintGraph members of Pego.PeFunction, Pesgo.PeFunction, Pe3do.PeFunction, Pepso.PeFunction, Pepco.PeFunction

 

See Also: PeFunction.PrintGraphEx, PeFunction.Print