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

C1.C1Report.4 アセンブリ > C1.C1Preview 名前空間 > C1PrintDocument クラス : CreationDevice プロパティ
ドキュメントの生成時に参照グラフィックスの提供に使用される デバイスのタイプを取得または設定します。このプロパティが MeasurementDeviceEnum.Printerに設定された場合、 CreationPrinterNameはプリンタを指定します。
シンタックス
'宣言
 
Public Property CreationDevice As MeasurementDeviceEnum
public MeasurementDeviceEnum CreationDevice {get; set;}
解説

C1.C1Reportまたは C1PrintDocumentのレンダリング時に使用される参照デバイスを決定するデフォルト動作は、静的プロパティである MeasurementDeviceMeasurementPrinterNameで指定されます。(静的でない) CreationDeviceCreationPrinterName、および CreationDpiプロパティは、個別のコンポーネントの動作をオーバーライドできます。

通常、すべてのインストールされているプリンタが 高解像度の参照 System.Drawing.Graphicsオブジェクトを取得するためにスキャンされます。この処理を省略するには、このプロパティを MeasurementDeviceEnum.Screenに設定します。これでレンダリングをスピードアップできますが、その際にレイアウトの精度が多少失われる場合があります。

参照

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