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




Gets the horizontal resolution (DPI) of the image.

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property XResolution As Integer
Visual Basic (Usage)Copy Code
Dim instance As CodecsImageInfo
Dim value As Integer
 
value = instance.XResolution
C# 
public int XResolution {get;}
Managed Extensions for C++ 
public: __property int get_XResolution();
C++/CLI 
public:
property int XResolution {
   int get();
}

Return Value

The horizontal resolution (DPI) of the image.

Example

For an example, refer to CodecsImageInfo.

Remarks

The XResolution is valid only when the value of HasResolution is true.

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