Image Frame Options Example for Visual Basic

Dim RasterTwain As New LEADRasterTwain_U

RasterTwain.InitSession hWnd
RasterTwain.SelectSource

Dim Frame As twFrame_U
Set Frame = RasterTwain.ImageFrame

Frame.LeftMargin = 0
Frame.TopMargin = 0
Frame.RightMargin = 8.5
Frame.BottomMargin = 11
RasterTwain.ImageFrame = Frame