Leadtools.Codecs Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
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 Size
Visual Basic (Usage)Copy Code
Dim instance As CodecsXpsLoadOptions
Dim value As Size
 
instance.Resolution = value
 
value = instance.Resolution
C# 
public Size Resolution {get; set;}
C++/CLI 
public:
property Size Resolution {
   Size get();
   void set (Size value);
}

Return Value

A Size 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 Size.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: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also