Reports for WinForms | ComponentOne
C1.C1Report.4 Assembly / C1.C1Report Namespace / C1Report Class / CreationDevice Property

In This Topic
    CreationDevice Property (C1Report)
    In This Topic
    Gets or sets the type of device that is used to provide reference graphics when generating the report. If this property is C1.C1Preview.MeasurementDeviceEnum.Printer (which is the default), CreationPrinterName specifies the printer.
    Syntax
    'Declaration
     
    Public Property CreationDevice As MeasurementDeviceEnum
    public MeasurementDeviceEnum CreationDevice {get; set;}
    Remarks

    Note that while the meaning of this and related CreationPrinterName properties are the same as those properties on a C1.C1Preview.C1PrintDocument, the defaults on a C1Report are not affected by the static properties C1.C1Preview.C1PrintDocument.MeasurementDevice and C1.C1Preview.C1PrintDocument.MeasurementPrinterName. Instead, C1.C1Preview.MeasurementDeviceEnum.Printer is used as the default, and the default printer name is null (which means that the printer is selected automatically). This is done for compatibility with previous versions.

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

    See Also