←Select platform

Resolution Property

Summary

Gets or sets the resolution to use when loading document types that do not have a native resolution.

Syntax

C#
VB
C++
public int Resolution { get; set; } 
  
Public Property Resolution As Integer 
public: 
property int Resolution { 
   int get(); 
   void set (    int ); 
} 

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

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Forms.DocumentReaders Assembly