Available in the LEADTOOLS Imaging toolkit. |
TopMargin property (ILEADRasterTwain)
float TopMargin | |
Overview |
Refer to Getting and Setting Capabilities. |
Remarks
Gets or sets the value of the top 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:
call the QueryCapability method with pCapability. Capability set to ICAP_FRAMES.
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 top margin value to the TWAIN driver, assign a new value to this property and call the SetProperties method.
See Also