Leadtools.Codecs Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.12.17
Resolution Property
See Also 
Leadtools.Codecs Namespace > CodecsXpsLoadOptions Class : Resolution Property




Gets or sets the resolution to load when loading XML Paper Specification (XPS) files.

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;}
Managed Extensions for C++ 
public: __property Size get_Resolution();
public: __property void set_Resolution( 
   Size value
);
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 the default load resolution.

The default value of the XPS load resolution is 96 by 96.

Setting values of less than 0 will throw an exception.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also