LEADTOOLS WIA (Leadtools.Wia assembly)
LEAD Technologies, Inc

Orientation Property






Gets or sets the original orientation of a page or image to be acquired.
Syntax
public WiaOrientation Orientation {get; set;}
'Declaration
 
Public Property Orientation As WiaOrientation
'Usage
 
Dim instance As WiaProperties
Dim value As WiaOrientation
 
instance.Orientation = value
 
value = instance.Orientation
public WiaOrientation Orientation {get; set;}
 get_Orientation();
set_Orientation(value);
public:
property WiaOrientation Orientation {
   WiaOrientation get();
   void set (    WiaOrientation value);
}

Property Value

The original orientation of a page or image to be acquired. Possible values are (according to Microsoft SDK documentation):

WiaImageType.Portrait

0 degrees.

WiaImageType.Landscape

90-degree counter-clockwise rotation, relative to the Portrait orientation.

WiaImageType.Rotate180

180-degree counter-clockwise rotation, relative to the Portrait orientation.

WiaImageType.Rotate270

270-degree counter-clockwise rotation, relative to the Portrait orientation.

For more information about the orientation modes, please refer to the WIA_IPS_ORIENTATION property ID in Microsoft Windows SDK Documentation.

Example
Refer to WiaSession.GetRootItem 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

WiaProperties Structure
WiaProperties Members

 

 


Products | Support | Contact Us | Copyright Notices

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