Aspose::Pdf::PdfSaveOptions class

PdfSaveOptions class

Save options for export to Pdf format.

class PdfSaveOptions : public Aspose::Pdf::SaveOptions

Methods

MethodDescription
get_CacheGlyphs() constGets boolean value which indicates if will font glyphs be cached while preparing aps pages. Improves performance of conversion pdf to other formats but increases memory consumption.
get_CloseResponse() constGets boolean value which indicates will Response object be closed after document saved into response.
get_DefaultFontName() constFont name used by default for fonts which are absent on computer. When the PDF document that is saved into PDF contains fonts, that are not available in the document itself and on the device, API replaces this fonts with the default font(if font with DefaultFontName is found on device)
get_SaveFormat() constFormat of data save.
get_TempPath() constPath for temporary files.
get_WarningHandler() constCallback to handle any warnings generated. The WarningHandler returns ReturnAction enum item specifying either Continue or Abort. Continue is the default action and the Save operation continues, however the user may also return Abort in which case the Save operation should cease.
PdfSaveOptions()Constructor.
set_CacheGlyphs(bool)Sets boolean value which indicates if will font glyphs be cached while preparing aps pages. Improves performance of conversion pdf to other formats but increases memory consumption.
set_CloseResponse(bool)Sets boolean value which indicates will Response object be closed after document saved into response.
set_DefaultFontName(System::String)Font name used by default for fonts which are absent on computer. When the PDF document that is saved into PDF contains fonts, that are not available in the document itself and on the device, API replaces this fonts with the default font(if font with DefaultFontName is found on device)
set_TempPath(System::String)Path for temporary files.
set_WarningHandler(System::SharedPtr<IWarningCallback>)Callback to handle any warnings generated. The WarningHandler returns ReturnAction enum item specifying either Continue or Abort. Continue is the default action and the Save operation continues, however the user may also return Abort in which case the Save operation should cease.

See Also