LEADTOOLS Image File Support (Leadtools.Codecs assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
Resolution Property
See Also 
Leadtools.Codecs Namespace > CodecsXpsLoadOptions Class : Resolution Property



Gets or sets the resolution to load when loading Open XML Paper Specification documents.

Syntax

Visual Basic (Declaration) 
Public Property Resolution As LeadSize
Visual Basic (Usage)Copy Code
Dim instance As CodecsXpsLoadOptions
Dim value As LeadSize
 
instance.Resolution = value
 
value = instance.Resolution
C# 
public LeadSize Resolution {get; set;}
C++/CLI 
public:
property LeadSize Resolution {
   LeadSize get();
   void set (    LeadSize value);
}

Property Value

A Leadtools.LeadSize structure that represents the resolution to load.

Example

For an example, refer to CodecsXpsOptions.

Remarks

Specifies the resolution (in DPI) of the image to load. Specify LeadSize.Empty to use current screen resolution (usually 96).

Setting values of less than 0 will throw an exception.

Deprecated - No longer supported.. Use CodecsRasterizeDocumentLoadOptions.XResolution and CodecsRasterizeDocumentLoadOptions.YResolution instead.

Requirements

Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also