Welcome to LEAD Support Forum Login | Register | Faq  

    LEAD Support Forum
  Resource to find answers and post technical questions about LEAD products.
Search    
   

Re: Multipage DWF file
Started by ezanagar at 08-06-2008 9:31. Topic has 5 replies.

Print Search « Previous Thread Next Thread »
  08-06-2008, 9:31
ezanagar is not online. Last active: 10/13/2008 3:52:11 PM ezanagar

Top 150 Posts
Joined on 08-05-2008
Posts 17
Multipage DWF file
Reply Quote
I have a DWF file that has 48 pages in it.

When I use the vector_Original.exe program in the leadtools API win32 folder, I can only see the first page. We've written our own wrappers to process vector images in our .NET code as well. However, with both the vector_Original.exe code and our own wrappers, I am only able to access to very first page of the DWF file (any vector for that matter). How do I get a hold of the other pages in a vector file.
Thanks
Ertan Zanagar

   Report 
  08-06-2008, 11:17
Adnan Ismail is not online. Last active: 1/6/2009 4:12:02 PM Adnan Ismail



Top 10 Posts
Joined on 07-31-2006
Posts 1,367
Re: Multipage DWF file
Reply Quote
Ertan,
Do you have a sample multi-page DWF file that you can send me? If yes, please put the file in a ZIP or RAR file and attach it to this post. If you do not want to post it here, you can send it to support@leadtools.com.
Adnan Ismail
LEADTOOLS Technical Support

   Report 
  08-06-2008, 12:43
ezanagar is not online. Last active: 10/13/2008 3:52:11 PM ezanagar

Top 150 Posts
Joined on 08-05-2008
Posts 17
Re: Multipage DWF file

Attachment: Whole set3 .zip
Reply Quote
Here is a DWF with 2 pages.


   Report 
  08-07-2008, 10:32
Adnan Ismail is not online. Last active: 1/6/2009 4:12:02 PM Adnan Ismail



Top 10 Posts
Joined on 07-31-2006
Posts 1,367
Re: Multipage DWF file
Reply Quote
You can load the page you want by specifying the PageNumber member in the LOADFILEOPTION structure then pass it to the L_VecLoadFile. The L_VecLoadFile by default uses the default options that's why it loads only the first page.

Adnan Ismail
LEADTOOLS Technical Support

   Report 
  08-07-2008, 10:36
ezanagar is not online. Last active: 10/13/2008 3:52:11 PM ezanagar

Top 150 Posts
Joined on 08-05-2008
Posts 17
Re: Multipage DWF file
Reply Quote
How do I know how many pages there are? PageCount property always returns a 1.

Thanks

Ertan Zanagar
   Report 
  08-07-2008, 11:00
Adnan Ismail is not online. Last active: 1/6/2009 4:12:02 PM Adnan Ismail



Top 10 Posts
Joined on 07-31-2006
Posts 1,367
Re: Multipage DWF file
Reply Quote
To be able to get the number of pages in your file, you should use the L_FileInfo function from our LTFIL15U.DLL and pass the FILEINFO_TOTALPAGES to get the number.
Adnan Ismail
LEADTOOLS Technical Support

   Report 
Post
LEAD Support Fo... » Developer » Vector » Re: Multipage DWF file

Powered by Community Server, by Telligent Systems