LEADTOOLS Image File Support (Leadtools.Codecs assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
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();
}

Property 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: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also