Quick Reference | |
---|---|
Init | |
Kill | |
Load | |
Navigate | |
PrintMe | |
PrintPages | |
Reload | |
Update |
Example |
---|
ThisViewer.Init (?feControl) |
Example |
---|
ThisViewer.Kill() |
Example |
---|
TempByte = ThisViewer.Load ('c:\test.pdf') ThisViewer.Load ('c:\test.pdf', ?feControl5, 4) |
Example |
---|
ThisViewer.Navigate (1) ! goto first
page ThisViewer.Navigate (5, 22) ! goto page number 22 |
Example |
---|
ThisViewer.PrintMe (1) |
Example |
---|
ThisViewer.PrintPages (3, 5, 1) ! print pages 3 to 5, and shrink pages to fit the current printer settings |
Example |
---|
ThisViewer.Reload() |
Example |
---|
ThisViewer.Update
('PDFScrollBars', '1') ! show scrollbars ThisViewer.Update ('PDFZoom', '50') ! 50% |
PdfScrollbars (Byte) | Set to "true" (1) to display scrollbars on the
PDF control, or "false" (0) to hide them. Can either be
set before calling the Load method (see example 1 below), or at
any time after the document has loaded, using the Update method
(see example 2 below). Example 1:
(before call to "load" method) ThisViewer1.PdfScrollbars = false ThisViewer1.Load ('c:\MyFile.pdf') Example 2: (any time after a document has loaded) ThisViewer.Update ( 'PdfScrollbars', '1' ) Note: This property only works if you are using Adobe Acrobat 4, which can be set from the Viewer Control's properties. ( See the notes on the "Init" method ). |
PdfToolbar (Byte) | Similar to the PdfScrollbars property, (see above), this property can be set using the same techniques. A value of True (1) shows the native Adobe toolbar, a value of False (0) hides it. Note: This property only works if you are using Adobe Acrobat 4, which can be set from the Viewer Control's properties. ( See the notes on the "Init" method ). |
PdfVersion (String) | If you want to specify which version of Adobe Acrobat File Explorer should use, you can do it in one of two places: either in the Version parameter of the Load method, or by setting the PdfVersion property before calling the Load method. Valid values are either "Acrobat 4" or "Acrobat 5" ( or just "4" or "5" ). If you are using the templates, this can be set from the Viewer Control properties. |
PdfZoom (Long) | Sets the "zoom" for the PDF control. Holds
a value from 1 (1%) to 100 (100%). See the notes on the PdfScrollbars
property (above) to see how you set this property (works the same way).
Example: ThisViewer.Update ( 'PdfZoom', '75' ) ! sets the zoom to 75% Note: This property only works if you are using Adobe Acrobat 4, which can be set from the Viewer Control's properties. ( See the notes on the "Init" method ). |