Visual Basic (Declaration) | |
---|---|
Public Property XResolution As Integer |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public int XResolution {get; set;} |
Return Value
The horizontal resolution (DPI) used when loading images that has no resolution information.For an example, refer to Load
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.
Target Platforms: Microsoft .NET CF Framework 2.0, Windows Mobile 5 PocketPC, Windows Mobile 5 Smartphone, Windows Mobile 6