Visual Basic (Declaration) | |
---|---|
Public Property Resolution As Size |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public Size Resolution {get; set;} |
Managed Extensions for C++ | |
---|---|
public: __property Size get_Resolution(); public: __property void set_Resolution( Size value ); |
Return Value
A Size structure that represents the resolution to load.For an example, refer to CodecsXpsOptions.
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.
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