projection
Programmer
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 ...
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!
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!