|
|||
Version
www.capesoft.com Updated 16 November 2005 |
|||
Contents | |||
|
|||
|
The FePDF Object | ||
|
The Templates | ||
|
Useful References | ||
Quick Reference |
Init |
Kill |
Load |
Navigate |
PrintMe |
PrintPages |
Reload |
Update |
![]() Init ( long ParentControl, <string LoadPath>, long Handle1=0, long Handle2=0, byte SkipCallbacks=false ) ,byte,proc ThisViewer.Init (?feControl)
|
Kill
( ) ThisViewer.Kill()
|
Load
( string CurrentPath, <long CurrentControl>, <byte
Version> ) ,byte,proc TempByte = ThisViewer.Load ('c:\test.pdf') ThisViewer.Load ('c:\test.pdf', ?feControl5, 4)
|
Navigate
( byte Location, <short PageNumber>, <string Optionals>
) ThisViewer.Navigate (1) ! goto first
page
|
PrintMe
( byte ShowDialog ) ThisViewer.PrintMe (1)
|
PrintPages
( long FromPage, long ToPage, byte ShrinkToFit ) ThisViewer.PrintPages (3, 5, 1) ! print pages 3 to 5, and shrink pages to fit the current printer settings
|
Reload
( <long CurrentControl> ) ThisViewer.Reload()
|
Update
( string Property, string PropValue )
ThisViewer.Update
('PDFScrollBars', '1') ! show scrollbars
|
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 (aboce) 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 ). |
At this time there is quite an overlap in terms of multiple File Explorer classes being implemented by the same templates. In the future we may revisit this, but for now all templates are covered in the main (FileExplorer.htm) help document, please click here.
At this time this section is found in the main (FileExplorer.htm) help document, please click here.