Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.6.22
|
Leadtools.Forms.DocumentWriters Namespace > DocumentOptions Class : DocumentResolution Property |
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');
When creating documents, the DocumentWriter object will use the resolution set in the Enhanced Metafile handle passed to DocumentWriter.AddPage or DocumentWriter.InsertPage methods through DocumentEmfPage.EmfHandle. However, sometimes it is desirable to override this behavior and use a pre-calculated fixed value for the resolution instead. To do this, change the value of the DocumentResolution property from the default value of 0 to the desired value before any calls to DocumentWriter.AddPage or DocumentWriter.InsertPage.