LEADTOOLS Forms (Leadtools.Forms.DocumentReaders assembly)

Resolution Property

Show in webframe





Gets or sets the resolution to use when loading document types that do not have a native resolution.
Syntax
public int Resolution {get; set;}
'Declaration
 
Public Property Resolution As Integer
'Usage
 
Dim instance As DocumentReaderLoadOptions
Dim value As Integer
 
instance.Resolution = value
 
value = instance.Resolution

            

            
public:
property int Resolution {
   int get();
   void set (    int value);
}

Property Value

A System.Int32 that specifies the resolution to use when loading document types that do not have a native resolution such as PDF or XPS. Must be a value greater than or equal to 0. The default value is 200.
Remarks

A value of 0 means use the current screen resolution, usually 96.

If the document type does not have a native resolution, such as PDF or XPS, then the value of Resolution will be used. This value will be set in the DocumentReaderPage.DpiX and DocumentReaderPage.DpiY properties.

If the document type does have a native resolution, such as TIFF or JPEG, then the value of Resolution will not be used. Instead the resolution will be read from the document.

Example

For an example, refer to DocumentReaderLoadOptions.

Requirements

Target Platforms

See Also

Reference

DocumentReaderLoadOptions Class
DocumentReaderLoadOptions Members

 

 


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