TwainSetImageLayout Method (GdPictureImaging)
Specifies the physical area (a rectangle) to be acquired during the next image transfer.
public bool TwainSetImageLayout(
double ,
double ,
double ,
double
)
public function TwainSetImageLayout(
: Double;
: Double;
: Double;
: Double
): Boolean;
public function TwainSetImageLayout(
: double,
: double,
: double,
: double
) : boolean;
public: bool TwainSetImageLayout(
double ,
double ,
double ,
double
)
public:
bool TwainSetImageLayout(
double ,
double ,
double ,
double
)
'Declaration
Public Function TwainSetImageLayout( _
ByVal As Double, _
ByVal As Double, _
ByVal As Double, _
ByVal As Double _
) As Boolean
Parameters
- Left
- Value of the left-most edge of the area to scan measured in inches.
- Top
- Value of the top-most edge of the area to scan measured in inches.
- Right
- Value of the right-most edge of the area to scan measured in inches. Note:
ImageWidth = Right - Left.
- Bottom
- Value of the bottom-most edge of the area to scan measured in inches. Note:
ImageHeight = Bottom - Top.
Return Value
True if success, else False -> Use TwainGetLastResultCode() and TwainGetLastConditionCode()
methods for diagnosing the error.