Leadtools.Forms.DocumentWriters名前空間 > DocumentOptionsクラス :DocumentResolutionプロパティ |
public int DocumentResolution {get; set;}
'Declaration
Public Property DocumentResolution As Integer
'Usage
Dim instance As DocumentOptions Dim value As Integer instance.DocumentResolution = value value = instance.DocumentResolution
public int DocumentResolution {get; set;}
@property (nonatomic, assign) NSInteger documentResolution
public int getDocumentResolution() public void setDocumentResolution(int resolution)
<br/>get_DocumentResolution();<br/>set_DocumentResolution(value);<br/>Object.defineProperty('DocumentResolution');
ドキュメントを作成するとき、DocumentWriterオブジェクトはDocumentEmfPage.EmfHandleを通してDocumentWriter.AddPageまたはDocumentWriter.InsertPageメソッドに渡される拡張メタファイルハンドルで設定される解像度を使います。しかし、時々、この動作をオーバーライドして、代わりに解像度のために先に計算された固定値を使うことは、望ましいです。こうするために、DocumentWriter.AddPageまたはDocumentWriter.InsertPageに任意の呼び出しの前に、0のデフォルト値から目標値までDocumentResolutionプロパティの値を変更します。