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



Gets or sets the image horizontal resolution, in dots per inch (DPI).

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);
}

Return 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: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also