Leadtools TWAIN (Leadtools.Twain assembly)
LEAD Technologies, Inc

UnitOfResolution Property






Gets or sets the unit of resolution to use.
Syntax
public TwainImageUnit UnitOfResolution {get; set;}
'Declaration
 
Public Property UnitOfResolution As TwainImageUnit
'Usage
 
Dim instance As TwainImageResolutionProperties
Dim value As TwainImageUnit
 
instance.UnitOfResolution = value
 
value = instance.UnitOfResolution
public TwainImageUnit UnitOfResolution {get; set;}
 get_UnitOfResolution();
set_UnitOfResolution(value);
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
Refer to TwainProperties.ImageResolution example.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

TwainImageResolutionProperties Structure
TwainImageResolutionProperties Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.