PeFunction.Dialog.Print(bool fullPage, int width, int height)
Call this function to invoke a built-in print dialog. Setting fullPage to True ignores width and height which are in units of 1/100th millimeters. Related to the built-in print dialog are:
PeUserInterface.Dialog.PrintStyleControl of type ProEssentials.Enums.PrintStyleControl
Gets or Sets whether the user has access to selecting monochrome or color printing from the built-in print dialog. Also controls whether dialog defaults to monochrome output.
PeUserInterface.Dialog.DefOrientation of type ProEssentials.Enums.DefOrientation
Gets or Sets default orientation of the printer paper when printing.
PeUserInterface.Dialog.PrintDpi of type Int32
Controls the target resolution in DotsPerInch when printing.
Set to Zero, the chart's image is sent to the printer via the actual graphic primitives and final resolution is based upon the printer's driver settings. This produces the sharpest graphics and may be the best setting when printing with ViewingStyle set to MonoChrome, BitmapGradientMode = False.
Set to 100 thru 600, the chart image is prepared as a bitmap (at the specified PrintDpi) and this bitmap is sent to the printer. The default and recommend setting is 300. 300 produces a good looking image while not requiring a huge amount of memory to be sent to the printer.
PeUserInterface.Dialog.HidePrintDpi of type Boolean
This property controls the visibility of the above PrintDpi end-user setting shown within the ProEssentials built-in print dialog.
|