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




Gets or sets the horizontal resolution used when creating new RasterImage objects.

Syntax

Visual Basic (Declaration) 
Public Shared Property XResolution As Integer
Visual Basic (Usage)Copy Code
Dim value As Integer
 
RasterDefaults.XResolution = value
 
value = RasterDefaults.XResolution
C# 
public static int XResolution {get; set;}
Managed Extensions for C++ 
public: __property static int get_XResolution();
public: __property static void set_XResolution( 
   int value
);
C++/CLI 
public:
static property int XResolution {
   int get();
   void set (int value);
}

Return Value

An integer value that specifies the horizontal resolution used when creating new RasterImage objects. This value must be an integer value greater than zero.

Example

For an example, refer to RasterDefaults.

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