Leadtools.CF Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.6.15
XResolution Property
See Also 
Leadtools.Codecs Namespace > CodecsOptions.CodecsLoadOptions Class : XResolution Property



Gets or sets the horizontal resolution (DPI) used when loading images that has no resolution information.

Syntax

Visual Basic (Declaration) 
Public Property XResolution As Integer
Visual Basic (Usage)Copy Code
Dim instance As CodecsOptions.CodecsLoadOptions
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

The horizontal resolution (DPI) used when loading images that has no resolution information.

Example

For an example, refer to Load

Remarks

Some images have no resolution information stored in the file. Set up this property along with YResolution with the resolution desired when loading these images.

To find out if an image has resolution information stored in the file, refer to HasResolution.

Requirements

Target Platforms: Microsoft .NET CF Framework 2.0, Windows Mobile 5 PocketPC, Windows Mobile 5 Smartphone, Windows Mobile 6

See Also