PdfConversion class.
More...
#include <pdfix.h>
|
virtual void | Destroy ()=0 |
| Destroys the object and its associated resources. More...
|
|
virtual bool | AddPage (int index)=0 |
| Adds page for conversion. When none page is added, the whole document is saved. More...
|
|
virtual bool | Save (const wchar_t *path)=0 |
| Writes conversion of the document into the file. More...
|
|
virtual bool | SaveToStream (PsStream *stream)=0 |
| Writes conversion of the document into the stream. More...
|
|
PdfConversion class.
A PdfConversion allows you to convert PDF to other document format.
◆ AddPage()
virtual bool PdfConversion::AddPage |
( |
int |
index | ) |
|
|
pure virtual |
Adds page for conversion. When none page is added, the whole document is saved.
- Parameters
-
index | Index of the page to be added for conversion. |
- Returns
- true if page was added successfully false otherwise.
- See also
- Save
◆ Destroy()
virtual void PdfConversion::Destroy |
( |
| ) |
|
|
pure virtual |
Destroys the object and its associated resources.
- See also
- PdfDoc::CreateHtmlDocConversion
-
PdfDoc::CreateTiffDocConversion
◆ Save()
virtual bool PdfConversion::Save |
( |
const wchar_t * |
path | ) |
|
|
pure virtual |
Writes conversion of the document into the file.
- Parameters
-
path | Path to the output file. |
- Returns
- true if the document was created successfully or false in case of an error.
◆ SaveToStream()
virtual bool PdfConversion::SaveToStream |
( |
PsStream * |
stream | ) |
|
|
pure virtual |
Writes conversion of the document into the stream.
- Parameters
-
- Returns
- true if the document was created successfully or false in case of an error.