Contact us


All times are UTC - 8 hours



Post new topic Reply to topic  [ 3 posts ] 
Author Message
Offline Profile  


Joined: Mon Jan 16, 2017 2:30 am
Posts: 8
Hi!
let's say I have 7 images in buffer and I want to save (or upload) images 3 to 7 as one pdf, how can I use the method SaveAllAsPDF (or HTTPUploadAllThroughPostAsPDF) without it having to save all of the scanned images?
long story short, I want to be able to select range, and not having each of them be a pdf document...


User avatar
Offline Profile  


Joined: Tue Mar 08, 2005 12:23 am
Posts: 1678
Hi RoshnaOmer,

Thanks for the information.

Please check if SaveSelectedImagesAsMultiPagePDF() and HTTPUploadThroughPostAsMultiPagePDF() meet your need.

Regards,

_________________
Vincy
Dynamsoft Support Team
Follow us@Twitter, Facebook


Offline Profile  


Joined: Mon Jan 16, 2017 2:30 am
Posts: 8
Thank you so much!
This is what I used as per your recommendation:

//indxFrom & indxTo are inputs
IndexList indxlist = new IndexList();
indxFrom = indxFrom - 1;
for (int indx = indxFrom; indx < indxTo; indx++)
{
indxlist.Add(indx);
}
dynamicDotNetTwain1.HTTPUploadThroughPostAsMultiPagePDF(ServiceIP, ServicePath, "doc.pdf", indxlist);
//and for normal saving
dynamicDotNetTwain1.SaveAsMultiPagePDF(directoryName, indxlist);


Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ]  Moderators: Michael, Vincy


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
Copyright © 2016 Dynamsoft | All Rights Reserved
dynamic designed by Dynamsoft team