Orientation Property

Summary
Gets or sets the original orientation of a page or image to be acquired.
Syntax
C#
VB
C++
public WiaOrientation Orientation { get; set; } 
  
Public Property Orientation As WiaOrientation 
public: 
property WiaOrientation Orientation { 
   WiaOrientation get(); 
   void set (    WiaOrientation ); 
} 

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

Help Version 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Wia Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.