There is either a wrong documentation or implementation at TwainSetImageLayout function.
In gdTwain documentation the following is described:
object Required. An object expression that evaluates to an object in the Applies To list.
nLeft Required. Double. Distance to left edge to scan measured in inches.
nTop Required. Double. Distance to top edge to scan measured in inches.
nRight Required. Double. Distance to right edge to scan measured in inches.
nBottom Required. Double. Distance to bottom edge to scan measured in inches.
but the implementation of this function looks different, because I think nRight and nBottom are in fact nWidth and nHeight.
Could you please investigate?
Thank you
Br,
ctn
