Visual Basic (Declaration) | |
---|---|
Public ReadOnly Property HasResolution As Boolean |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public bool HasResolution {get;} |
Return Value
true if the image file has resolution values stored inside; otherwise false.For an example, refer to CodecsImageInfo.
If the value of this property is true, you can use the XResolution and YResolution properties to get the
DPI of the image.
Target Platforms: Microsoft .NET CF Framework 2.0, Windows Mobile 5 PocketPC, Windows Mobile 5 Smartphone, Windows Mobile 6