How do I set the initial view properites for zoom for "Fit to Width" and for navigation bookmarks? I am using the professional version.
From the VB merge example, I tried the following, and it did not work.
Private Sub DrawMergePDF()
Dim objDoc As DynamicPDF.Document
Set objDoc = New DynamicPDF.Document
'***************************************
' my changes
objDoc.InitialZoom = DPDF_Zoom_FitWidth
objDoc.ViewerPreferences.HideWindowUI = False
'***************************************
objDoc.Creator = "MergePDFs.asp"
objDoc.Author = "Your Name"
objDoc.Title = "Merge PDFs"
objDoc.LoadPdf App.Path & "/PDFs/DocumentA.pdf"
' Append additional PDF
objDoc.AppendPdf App.Path & "/PDFs/DocumentB.pdf"
objDoc.AppendPdf App.Path & "/PDFs/DocumentC.pdf"
' Append 3 MyPages from an aditional PDF
objDoc.AppendPdf App.Path & "/PDFs/DocumentD.pdf", 1, 3
' Outputs the merged document to the current web MyPage
objDoc.DrawToFile (App.Path & "\MergePDFs.pdf")
MergePDF.Navigate (App.Path & "\MergePDFs.pdf")
End Sub
Thanks,
GA