Re: Multipage DWF file
Started by ezanagar at 08-06-2008 9:31. Topic has 5 replies.
|
|
08-06-2008, 9:31
|
ezanagar
Joined on 08-05-2008
Posts 17
|
|
|
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

Joined on 07-31-2006
Posts 1,367
|
|
|
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
Joined on 08-05-2008
Posts 17
|
|
|
Here is a DWF with 2 pages.
|
|
|
|
|
Report
|
|
|
|
08-07-2008, 10:32
|
Adnan Ismail

Joined on 07-31-2006
Posts 1,367
|
|
|
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
Joined on 08-05-2008
Posts 17
|
|
|
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

Joined on 07-31-2006
Posts 1,367
|
|
|
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
|
|
|
|
|
LEAD Support Fo... » Developer » Vector » Re: Multipage DWF file
|
|
Copyright LEAD Technologies, Inc. 2008
