True DBGrid for WinForms | ComponentOne
C1.Win.C1TrueDBGrid.4.5.2 Assembly / C1.Win.C1TrueDBGrid Namespace / PrintInfo Class / MeasurementDevice Property

In This Topic
    MeasurementDevice Property (PrintInfo)
    In This Topic
    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