Leadtools.Twain Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
UnitOfResolution Property
See Also 
Leadtools.Twain Namespace > TwainImageResolutionProperties Structure : UnitOfResolution Property



Gets or sets the unit of resolution to use.

Syntax

Visual Basic (Declaration) 
Public Property UnitOfResolution As TwainImageUnit
Visual Basic (Usage)Copy Code
Dim instance As TwainImageResolutionProperties
Dim value As TwainImageUnit
 
instance.UnitOfResolution = value
 
value = instance.UnitOfResolution
C# 
public TwainImageUnit UnitOfResolution {get; set;}
C++/CLI 
public:
property TwainImageUnit UnitOfResolution {
   TwainImageUnit get();
   void set (TwainImageUnit value);
}

Return Value

The unit of resolution to use. Possible values are (according to the TWAIN 2.0 specification): TwainCapabilityValue.UnitInches Inches unit. TwainCapabilityValue.UnitCentimeters Centimeters unit. TwainCapabilityValue.UnitPicas Picas unit. TwainCapabilityValue.UnitPoints Points unit. TwainCapabilityValue.UnitTwips Twips unit. TwainCapabilityValue.UnitPixels Pixels unit.

Example

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