|
gtPDFOutlineViewerX |
Top Previous Next |
|
[This class has been included in version 2.0 of Gnostice PDFtoolkit ActiveX/. NET ProPlus Edition]
Using gtPDFOutlineViewerX control the outline (Table of Contents) can be viewed and navigated just by placing a component on your form and setting a few properties.
gtPDFDocumentX/Viewer/Printer/Outline interaction and connection architecture modified for greater reuse, elegance and performance. Now the document is read only once for viewing, printing, outline display and manipulation.
Moving your PDFtoolkit ActiveX applications to v2.04:
(Relevant only if your applications use gtPDFViewerX/gtPDFPrinterX components)
1. Place a gtPDFDocumentX component.
2. Set the Filename property of the gtPDFDocumentX component or load the file using the 'LoadFromFile' or 'LoadFromStream' method. The 'LoadFromStream' method does not exist for gtPDFViewerX and gtPDFPrinterX.
3. Provide a handler for the OnPassword event of gtPDFDocumentX, if required. The OnPassword event now does not exist for gtPDFViewerX and gtPDFPrinterX.
4. Set the PDFDocument property of the gtPDFViewerX/gtPDFPrinterX to the placed gtPDFDocumentX. The filename property now does not exist for gtPDFViewerX and gtPDFPrinterX.
Refer example 'Tutorial - PDF OutlineViewer' |