LeftMargin property (ILEADRasterTwain)

Visual Basic Example

Visual C++ 5.0 Example

 

Syntax

float LeftMargin

Overview

Refer to Getting and Setting Capabilities.

Remarks

Gets or sets the value of the left margin of the scanning area.

The unit of measure for this property is determined by the Unit property.

This property is equivalent to the ICAP_FRAMES capability. There are two ways of determining the possible values for this capability:

image\sqrblit.gif call the QueryCapability method with pCapability. Capability set to ICAP_FRAMES.

image\sqrblit.gif call the GetCapability method (MFC) or the GetCapability2 method (VB) with pCapability. Capability set to ICAP_FRAMES and the IFlags parameter set to L_LTWAIN_CAPABILITY_GETVALUES.

For more information on specific TWAIN capabilities, refer to the TWAIN 1.9 specification.

This property is updated with the driver’s current value by calling the GetProperties method.

To set a new left margin value to the TWAIN driver, assign a new value to this property and call the SetProperties method.

See Also

Elements

ImageEffects property, DataTransfer property, ImageResolution property, EnableAutoFeed property, MaxPagesNumber property, DuplexScanning property, GetProperties method, SetProperties method, RightMargin property, TopMargin property, BottomMargin property, Unit property, GetCapability method, GetCapability2 method, QueryCapability method

Topics

TWAIN Functionality: Driver Settings