Leadtools.Codecs Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
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;}
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 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also