ComponentOne True DBGrid for WinForms
MeasurementDevice Property

C1.Win.C1TrueDBGrid.4 Assembly > C1.Win.C1TrueDBGrid Namespace > PrintInfo Class : MeasurementDevice Property
Gets or sets the type of device that is used to provide reference graphics when generating the document. If this property is set to PrintInfo.MeasurementDeviceEnum.Printer, MeasurementPrinterName specifies the printer.
Syntax
'Declaration
 
Public Property MeasurementDevice As PrintInfo.MeasurementDeviceEnum
public PrintInfo.MeasurementDeviceEnum MeasurementDevice {get; set;}
Remarks

Normally all installed printers would be scanned to obtain a high-resolution reference System.Drawing.Graphics object. In order to bypass this process, set this property to PrintInfo.MeasurementDeviceEnum.Screen. In some cases this may increase rendering speed at the cost of some loss in layout accuracy.

See Also

Reference

PrintInfo Class
PrintInfo Members
MeasurementPrinterName Property