PrintDocument for WinForms | ComponentOne
C1.PrintDocument.6 Assembly / C1.C1Preview Namespace / C1PrintDocument Class / CreationDevice Property

In This Topic
    CreationDevice Property (C1PrintDocument)
    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 MeasurementDeviceEnum.Printer, C1PrintDocument.CreationPrinterName specifies the printer.
    Syntax
    'Declaration
     
    Public Property CreationDevice As MeasurementDeviceEnum
    public MeasurementDeviceEnum CreationDevice {get; set;}
    Remarks

    The default behavior determining which reference device should be used when rendering a C1PrintDocument is specified by static properties C1PrintDocument.MeasurementDevice and C1PrintDocument.MeasurementPrinterName. The (non-static) C1PrintDocument.CreationDevice, C1PrintDocument.CreationPrinterName and C1PrintDocument.CreationDpi properties allow to override the behavior for an individual component.

    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 MeasurementDeviceEnum.Screen. In some cases this may increase rendering speed at the cost of some loss in layout accuracy.

    See Also