LTwain::GetAcquirePageOptions

#include "ltwrappr.h"

L_INT LTwain::GetAcquirePageOptions (pnPaperSize, pnPaperDirection);

L_INT * pnPaperSize;

/* pointer to a variable */

L_INT * pnPaperDirection;

/* pointer to a variable */

Gets the current page size, and page orientation values used when transferring images from the current TWAIN source.

Parameter

Description

pnPaperSize

Pointer to a variable to be updated with the page size. For more information on possible values, refer to http://www.twain.org/ and click on TWAIN Specification (Version 1.9).

pnPaperDirection

Pointer to a variable to be updated with the page direction. For more information on possible values, refer to http://www.twain.org/ and click on TWAIN Specification (Version 1.9).

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

This function gets the current page size capability ICAP_SUPPORTEDSIZES, and page orientation capability ICAP_ORIENTATION values. For more information on these capabilities, refer to http://www.twain.org/ and click on TWAIN Specification (Version 1.9).

To set these capabilities, call the LTwain::SetAcquirePageOptions function.

Required DLLs and Libraries

LTTWN

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

See Also

Functions:

LTwain::SetTransferOptions, LTwain::GetTransferOptions, LTwain::GetSupportedTransferMode, LTwain::SetResolution, LTwain::GetResolution, LTwain::SetImageFrame, LTwain::GetImageFrame, LTwain::SetImageUnit, LTwain::GetImageUnit, LTwain::SetImageBitsPerPixel, LTwain::GetImageBitsPerPixel, LTwain::SetImageEffects, LTwain::GetImageEffects, LTwain::SetAcquirePageOptions, LTwain::SetRGBResponse, LTwain::ShowProgress, LTwain::EnableDuplex, LTwain::GetDuplexOptions, LTwain::SetMaxXferCount, LTwain::GetMaxXferCount

Topics:

Getting and Setting Capabilities

 

TWAIN Functionality: Capability Functions

Example

For an example, refer to LTwain::GetImageEffects.