←Select platform

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 Leadtools.Wia.WiaOrientation 
public: 
property Leadtools.Wia.WiaOrientation Orientation { 
   Leadtools.Wia.WiaOrientation get(); 
   void set (    Leadtools.Wia.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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Wia Assembly