Leadtools Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.3.5
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;}
Managed Extensions for C++ 
public: __property int get_XResolution();
public: __property void set_XResolution( 
   int value
);
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 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