Leadtools TWAIN (Leadtools.Twain assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
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);
}

Property 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 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also