|
-
Aug 21st, 2003, 01:24 PM
#1
Thread Starter
Addicted Member
Retrieving number of pages in a tiff
I am writing a program in VBA for outlook.
The program prompts the user when closing an email with an attachment and asks if they
would like to save the document. when storing the document I need to get the number of pages.
The code that I wrote is as follows:
Set AcroExchApp = CreateObject("AcroExch.App")
Set AcroExchPDDoc = CreateObject("AcroExch.PDDoc")
AcroExchPDDoc.Open strPath + aAttachments(i)
AcroExchPDDoc.GetNumPages
when the document is a pdf then it retrieves the number correctly, however when it is a tiff file
it always returns 0.
If you can get me any help with this i would greatly appreciate.
Thanks.
-
Aug 28th, 2003, 05:11 AM
#2
Fanatic Member
at a running guess I would say that tiff does not support GetNumPages as an action. Um... is there any other value you can pull at to get an estimate? Like length, size.... er... etc
-
Aug 28th, 2003, 08:04 AM
#3
Thread Starter
Addicted Member
Retrieving number of pages in a tiff
why wouldnt it have that property if the document has a few pages?? and when I view it in imaging or adobe it shows the pages??
-
Aug 28th, 2003, 08:54 AM
#4
Fanatic Member
It was just a best guess, there is not the coheasive set of standards we would like there to be.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|