PrintDocument for WPF | ComponentOne
C1.WPF.PrintDocument.4.6.2 Assembly / C1.C1Preview Namespace / C1PrintDocument Class / CreationDevice Property

In This Topic
    CreationDevice Property
    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, 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 MeasurementDevice and MeasurementPrinterName. The (non-static) CreationDevice, CreationPrinterName and 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