save_as_pdf method

save_as_pdf

Saves PS/EPS file to PDF file.

def save_as_pdf(self, out_pdf_file_path, options):
    ...
ParameterTypeDescription
out_pdf_file_pathstrAn output PDF file path.
optionsaspose.page.eps.device.PdfSaveOptionsContains flags that specify output of errors thrown during conversion.

save_as_pdf

Saves PS/EPS file to PDF stream.

def save_as_pdf(self, pdf_stream, options):
    ...
ParameterTypeDescription
pdf_streamio.RawIOBaseAn output PDF stream.
optionsaspose.page.eps.device.PdfSaveOptionsContains flags that specify output of errors thrown during conversion.

See Also