FitInWindow

Optional. A flag specifying whether to resize the document's window to fit the size of the first displayed page.

Must be set prior to calling CreatePDFFile.

Example

Dim cPDF As New vbPDF

cPDF.FitInWindow = True