ToPdf()
Contents
[
Hide
]Convert::ToPdf(System::String, System::String) method
Converts Presentation to PDF.
static void Aspose::Slides::LowCode::Convert::ToPdf(System::String presPath, System::String outPath)
Arguments
Parameter | Type | Description |
---|---|---|
presPath | System::String | Path of the input presentation |
outPath | System::String | Output path |
Remarks
Convert::ToPdf(u"pres.pptx", u"pres.pdf");
Convert::ToPdf(System::String, System::String, System::SharedPtr<Aspose::Slides::Export::IPdfOptions>) method
Converts Presentation to PDF.
static void Aspose::Slides::LowCode::Convert::ToPdf(System::String presPath, System::String outPath, System::SharedPtr<Aspose::Slides::Export::IPdfOptions> options)
Arguments
Parameter | Type | Description |
---|---|---|
presPath | System::String | Path of the input presentation |
outPath | System::String | Output path |
options | System::SharedPtr<Aspose::Slides::Export::IPdfOptions> | Output PDF options |
Remarks
auto pdfOptions = System::MakeObject<PdfOptions>();
pdfOptions->set_Compliance(PdfCompliance::PdfUa);
Convert::ToPdf(u"pres.pptx", u"pres.pdf", pdfOptions);
Convert::ToPdf(System::SharedPtr<Presentation>, System::String) method
Converts Presentation to PDF.
static void Aspose::Slides::LowCode::Convert::ToPdf(System::SharedPtr<Presentation> pres, System::String outPath)
Arguments
Parameter | Type | Description |
---|---|---|
pres | System::SharedPtr<Presentation> | Input presentation |
outPath | System::String | Output path |
Remarks
auto pres = System::MakeObject<Presentation>(u"input.pptx");
Convert::ToPdf(pres, u"output.pdf");
Convert::ToPdf(System::SharedPtr<Presentation>, System::String, System::SharedPtr<Aspose::Slides::Export::IPdfOptions>) method
Converts Presentation to PDF.
static void Aspose::Slides::LowCode::Convert::ToPdf(System::SharedPtr<Presentation> pres, System::String outPath, System::SharedPtr<Aspose::Slides::Export::IPdfOptions> options)
Arguments
Parameter | Type | Description |
---|---|---|
pres | System::SharedPtr<Presentation> | Input presentation |
outPath | System::String | Output path |
options | System::SharedPtr<Aspose::Slides::Export::IPdfOptions> | Output PDF options |
Remarks
auto pres = System::MakeObject<Presentation>(u"input.pptx");
auto pdfOptions = System::MakeObject<PdfOptions>();
pdfOptions->set_Compliance(PdfCompliance::PdfUa);
Convert::ToPdf(pres, u"output.pdf", pdfOptions);
See Also
- Typedef SharedPtr
- Class String
- Class Convert
- Class IPdfOptions
- Class Presentation
- Namespace Aspose::Slides::LowCode
- Library Aspose.Slides