Leadtools.Forms.DocumentReaders Namespace > DocumentReaderLoadOptions Class : Resolution Property |
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 int Resolution {get; set;}
get_Resolution();
set_Resolution(value);
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.
For an example, refer to DocumentReaderLoadOptions.
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