|
PlanetPress Capture Library
|
This object is the place where PDF files are stored. More...
Public Member Functions | |
| Integer | Add (const WideString FileName) |
| Adds a new PDF file in the PDF Store. | |
| Delete (Integer ItemID) | |
| Deletes an entry from the store. | |
| Update (Integer ItemID, const WideString FileName) | |
| Updates a PDF file in the PDF Store. | |
Public Attributes | |
| IPdfFile | Item |
Returns the PDF file object at index ItemIndex. | |
| IPdfFile | ItemByID |
Returns the PDF file object whose ID is ItemID. | |
| integer | Count |
| Number of PDF files in the collection. | |
This object is the place where PDF files are stored.
The PDF files act as page repositories for documents. A single PDF can hold pages for one or more documents. Once all the documents linked to a PDF file are deleted, the PDF is deleted from the store as well.
| Integer TPdfStore::Add | ( | const WideString | FileName | ) |
Adds a new PDF file in the PDF Store.
The file is copied whole in the database and an original remains in its current location.
| FileName | Complete path and file name of the PDF file to add to the database. |
| TPdfStore::Delete | ( | Integer | ItemID | ) |
Deletes an entry from the store.
| ItemID | ID of the item to delete. |
| EOleException | The item cannot be found. |
| TPdfStore::Update | ( | Integer | ItemID, |
| const WideString | FileName | ||
| ) |
Updates a PDF file in the PDF Store.
The file in the database is overwritten and its previous content is lost.
| ItemID | ID of the PDF to update. |
| FileName | Complete path and file name of the PDF file to add to the database. |
| integer TPdfStore::Count |
Number of PDF files in the collection.
| IPdfFile TPdfStore::Item |
Returns the PDF file object at index ItemIndex.
| ItemIndex | Index of the PdfFile object to retrieve. |
| IPdfFile TPdfStore::ItemByID |
Returns the PDF file object whose ID is ItemID.
| ItemID | ID of the PdfFile object to retrieve. |