LEADTOOLS WIA (Leadtools.Wia assembly)

Orientation Property

Show in webframe





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:
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

See Also

Reference

WiaProperties Structure
WiaProperties Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.