Returns or sets the unit of measure. This is a runtime property.
Namespace: Dynamsoft.DotNet.TWAINAssembly: DynamicDotNetTWAIN (in DynamicDotNetTWAIN.dll) Version: 3.0.0.0 (3.0.0.0)
Syntax
| C# |
|---|
public TWICapUNits Unit { get; set; } |
| Visual Basic |
|---|
Public Property Unit As TWICapUNits Get Set |
Remarks
| Allowed Values | Unit |
|---|---|
| 0 | INCHES |
| 1 | CENTIMETERS |
| 2 | PICAS |
| 3 | POINTS |
| 4 | TWIPS |
| 5 | PIXELS |
Exceptions
| Exception | Condition |
|---|---|
| Dynamsoft.DotNet.TWAIN..::..TwainException | When an error occurs and IfThrowException property is true, an exception will be thrown. When IfThrowException property is false, please check ErrorCode and ErrorString. |