C1.C1Preview Namespace > C1PrintDocument Class : CreationDevice Property |
'Declaration Public Property CreationDevice As MeasurementDeviceEnum
public MeasurementDeviceEnum CreationDevice {get; set;}
The default behavior determining which reference device should be be used when rendering a C1.C1Report or 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.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2