|
PEprintgraphBOOL PEprintgraph(hObject, nWidth, nHeight, nOrient)
This function prints the object's image to the default printer. If nWidth and nHeight are both zero, the image will print full page with a small margin around the chart. Else if nWidth and nHeight are non-zero, the chart will be centered on the page. nOrient controls paper orientation. The current state of PrintDpi and PrintTechnology properties will control which GDI commands are used to transfer the image to printer.
Returns NonZero if the function was successful, otherwise Zero.
Comments .NET developers, see PeFunction.PrintGraph
Ocx|Vcl developers, see PEprintgraph Method or the PEactions property which can call this function like... Pego1.PEactions = 18
In Delphi, use... PEprintgraph as defined in PEGRPAPI.PAS ...or... PEGraph1.PEactions := gPrintGraph; {Calls PEprintgraph}
See Also: PElaunchprintdialog, PEprintgraphEx, Chapter 5 Printing within VC, PrintDpi, PrintTechnology
|
©2022 Gigasoft, Inc. | All rights reserved.
Gigasoft is a registered trademark, and ProEssentials a trademark of Gigasoft, Inc. |