TWAIN Working Group

Newsletter Signup
Donate
Help keep TWAIN free
  • About TWAIN
    • What’s New?
    • News
    • Events
    • Membership
    • Consider a Donation
    • Contact Us
  • Why TWAIN?
  • Developers
    • Driver Developer
    • Application Developer
    • TWAIN Features
    • Specification & Tools
    • Self Certification Process
  • Support Forums
  • Scanner End-User
  • Find Certified Drivers
    • Facebook
    • LinkedIn
    • Vimeo

Re: Setting ImageLayout returns Failure

Forums › TWAIN Classic › ICAP_PHYSICALWIDTH › Re: Setting ImageLayout returns Failure

January 16, 2007 at 9:27 am #23493
Dark Angel
Participant
  • Topics - 3
  • Replies - 5
  • Total Posts - 8

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

Quick Links

Service Providers
TWAIN Support Forums
Membership
Contact Us
Privacy Policy

Newsletter Signup

TWAIN Working Group Family

TWAIN Working Group
TWAIN Direct®
TWAIN Resources
TWAIN Certified Drivers
PDF/raster

  • Facebook
  • GitHub
  • LinkedIn
  • Vimeo

Recent Topics

  • EPSON V600 TWAIN and WIA on Windows 10
  • When and how to use WaitForEvents command ?
  • Problem enumerating list of installed scanners in windows server 2012
  • Failed to create TWAIN progress! Error code is 1260.
  • To get the list of scanners from javascript client side (browser)
  • Quarterly Newsletter
  • TWAIN Working Group Membership
  • Logo Usage
  • TWAIN License
  • Contact Us
Privacy Policy • Privacy Tools • Copyright © 2021 TWAIN Working Group • by iHwy, LLC • Log in