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



Determines whether the file has resolution values (DPI) stored inside.

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property HasResolution As Boolean
Visual Basic (Usage)Copy Code
Dim instance As CodecsImageInfo
Dim value As Boolean
 
value = instance.HasResolution
C# 
public bool HasResolution {get;}
C++/CLI 
public:
property bool HasResolution {
   bool get();
}

Return Value

true if the image file has resolution values stored inside; otherwise false.

Example

For an example, refer to CodecsImageInfo.

Remarks

If the value of this property is true, you can use the XResolution and YResolution properties to get the DPI of the image.

Requirements

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

See Also