The leading provider of version control solution and TWAIN SDK

How can I add new pages to an existing image file?

First, you should load the image file to Dynamic Web TWAIN. Currently, we only ensure that images created by Dynamic Web TWAIN or Dynamic TWAIN can be loaded successfully.

You can use the LoadImage method or the LoadImageEx method to load the image file to Dynamic Web TWAIN. Before acquiring images, please check the value of the IfAppendImage property. If it is true, the new scanned image will be appended after the last image in buffer (the default value of this property is true). Click here if you want to insert new scanned images to an existing multi-page file.

Code (C#):

private void Load_Click(object sender, EventArgs e)
{
      axDynamicWebTwain1.MaxImagesInBuffer = 4;
      //the maximum number of images can be held in buffer in the trial version is 4
      axDynamicWebTwain1.LoadImage("G:\\wwwroot\\a.tif");
}

private void Add_Click(object sender, EventArgs e)
{
      axDynamicWebTwain1.OpenSource();
      axDynamicWebTwain1.SelectSource();
      axDynamicWebTwain1.IfAppendImage = true;
      axDynamicWebTwain1.AcquireImage();
 }

Reference:

LoadImage  LoadImageEx  IfAppendImage  AcquireImage




Article Details

Last Updated
7th o November, 2008

Would you like to...

Print this page Print this page

Email this page Email this page

Post a comment Post a comment

Subscribe me

Add to favorites Add to favorites

Remove Highlighting Remove Highlighting

Edit this Article

Quick Edit

Export to PDF

User Opinions (0 votes)

No users have voted.

How would you rate this answer?



Thank you for rating this answer.

Related Articles

No related articles were found.

Attachments

No attachments were found.

Visitor Comments

No visitor comments posted. Post a comment

Post a comment

To post a comment for this article, simply complete the form below. Fields marked with an asterisk are required.
   Name:
   Email:
* Comment:
* Enter the code below:
 

Continue