LEADTOOLS Forms (Leadtools.Forms.DocumentWriters assembly)

DocumentResolution Property (IDocumentOptions)

Show in webframe







Gets or sets the document resolution (in dots per inch) of the resulting document.
Syntax
int DocumentResolution {get; set;}
'Declaration
 
Property DocumentResolution As Integer
'Usage
 
Dim instance As IDocumentOptions
Dim value As Integer
 
instance.DocumentResolution = value
 
value = instance.DocumentResolution
int DocumentResolution {get; set;}

            

            

get_DocumentResolution();
set_DocumentResolution(value);
Object.defineProperty('DocumentResolution');
property int DocumentResolution {
   int get();
   void set (    int value);
}

Property Value

Document resolution value given in dots per inch unit and it controls the dimensions of the resulting document. Default value is 0 (use the resolution of the actual page).
Remarks

When creating documents, the DocumentWriter object will use the resolution set in the Enhanced Metafile handle passed to DocumentWriter.AddPage method through DocumentPage.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.

Example
For an example, refer to DocumentWriter.
Requirements

Target Platforms

See Also

Reference

IDocumentOptions Interface
IDocumentOptions Members
DocumentWriter Class
Programming with LEADTOOLS Document Writers
Files to be Included with Your Application
Unlocking Special LEAD Features

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.Forms.DocumentWriters requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features