LEADTOOLS WIA (Leadtools.Wia assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
XScaling Property
See Also 
Leadtools.Wia Namespace > WiaImageResolutionProperties Structure : XScaling Property



Gets or sets the acquired image X-direction scaling value before transferring.

Syntax

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

Property Value

An integer that represents the acquired image X-direction scaling value before transferring.

Example

Refer to WiaSession.GetRootItem example.

Remarks

The horizontal scaling percentage to be applied to the scanned page within the scanner device. This value can be from 1 to maximum of 65535. For example, 100 means no scaling, 50 means scaling down to 50 of the original size, and 200 means scaling up to 200 of the original size.

Note: This member is only available on VISTA (WIA 2.0 version).

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