Home › Forums › TWAIN Classic › ICAP_PHYSICALWIDTH › Re: Setting ImageLayout returns Failure
Hi nati:
I am having the same problem I am setting the Frame by using the triplet
Control / ImageLayout / set
but I am always get return code (Failure)
I don’t know why I am trying to fix it rightnow
My scanner doesn’t support ICAP_Frames so I have to set the frame using
the past triplet
the code:
TWImageLayout imgLO = new TWImageLayout()
imgLO.Frame.Top = 0
imgLO.Frame.Left = 0
imgLO.Frame.Right = 2
imgLO.Frame.Buttom = 2
imgLO.PageNumber = 1
imgLO.Document = 1
imgLO.FrameNumber = 1
by the way sometimes it returns success and set the imagelayout structure to zeros and when I scan I get image with the maximum size
(rightnow I am doing these tests with twain toolkit)
If you interested maybe we can get this out together
thanks in advance
Dark Angel