PDFix SDK  8.2.0
Loading...
Searching...
No Matches
PdfConversion Struct Referenceabstract

PdfConversion class. More...

#include <pdfix.h>

Inheritance diagram for PdfConversion:
PdfHtmlConversion PdfJsonConversion PdfTiffConversion

Public Member Functions

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...
 

Detailed Description

PdfConversion class.

A PdfConversion allows you to convert PDF to other document format.

Member Function Documentation

◆ AddPage()

virtual bool PdfConversion::AddPage ( int  index)
pure virtual

Adds page for conversion. When none page is added, the whole document is saved.

Parameters
indexIndex 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
pathPath 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
streamoutput stream.
Returns
true if the document was created successfully or false in case of an error.