PrintDocument for WinForms
CreationDevice プロパティ (C1PrintDocument)


C1.PrintDocument.6 アセンブリ > C1.C1Preview 名前空間 > C1PrintDocument クラス : CreationDevice プロパティ
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.
シンタックス
'宣言
 
Public Property CreationDevice As MeasurementDeviceEnum
'使用法
 
Dim instance As C1PrintDocument
Dim value As MeasurementDeviceEnum
 
instance.CreationDevice = value
 
value = instance.CreationDevice
public MeasurementDeviceEnum CreationDevice {get; set;}
解説

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.

参照

C1PrintDocument クラス
C1PrintDocument メンバ
CreationPrinterName プロパティ
CreationDpi プロパティ
CreationGraphics プロパティ
ActualCreationPrinterName プロパティ
ActualCreationDevice プロパティ