You are here: GdPicture.NET > Documentation > Classes > GdPictureImaging Class > GdPictureImaging Methods > TWAIN Features > TwainGetOrientation Method
logo.gif
ContentsIndexHome
PreviousUpNext
GdPictureImaging.TwainGetOrientation Method

Asks to the opened source which edge of the “paper” the image’s “top” is aligned with. 

This information is used to adjust the frames to match the scanning orientation of the paper.

C#
public TwainOrientation TwainGetOrientation();
Visual Basic
Public Function TwainGetOrientation() As TwainOrientation
Returns

The image orientation mode. A member of the TwainOrientation enumeration.

Before using this function check that the TWAIN state is TWAIN_SOURCE_OPEN (4) 

To get the TWAIN state, use the TwainGetState() function.

What do you think about this topic? Send feedback!
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.