LEADTOOLS (Leadtools assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
XResolution Property
See Also 
Leadtools Namespace > RasterImage Class : XResolution Property



Gets or sets the image horizontal resolution, in dots per inch (DPI). Supported in Silverlight, Windows Phone 7

Syntax

Visual Basic (Declaration) 
Public Property XResolution As Integer
Visual Basic (Usage)Copy Code
Dim instance As RasterImage
Dim value As Integer
 
instance.XResolution = value
 
value = instance.XResolution
C# 
public int XResolution {get; set;}
C++/CLI 
public:
property int XResolution {
   int get();
   void set (    int value);
}

Property Value

Horizontal resolution in dots per inch (DPI).

Example

For an example, refer to RasterImage.

Remarks

Some file formats save this value in the file header.

Requirements

Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only), Windows Phone 7

See Also