Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

acrobat "fit page"

Status
Not open for further replies.

projection

Programmer
Aug 24, 2004
12
0
0
US
Hi,

Thanks in advance for responding. I am coding a simple utility to set all the pdfs magnification to "fit page". i tried doing this ...

Code:
Set avp = AVDoc.GetAVPageView
Set PDDoc = avp.GetDoc
' first param is type (1 being "fit page"), second is scale
i = avp.ZoomTo(1, 1)
If i = 0 Then MsgBox "fault" & vbCrLf & "return code: " & i
PDDoc.Save 1, sPath & "\" & fle.Name

but this had no effect on the document properties. Is there a way to insert javascript code into the document to run at load so that the file will be forced to fit page? or is there something i am missing in the IAC that allows me to adjust document properties? or something else that i haven't thought of.

Thanks again!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top