LEADTOOLS Forms (Leadtools.Forms.DocumentReaders assembly)
LEAD Technologies, Inc

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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DocumentReaderLoadOptions Class
DocumentReaderLoadOptions Members

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