This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Presentation.ExportAsFixedFormat method (PowerPoint)
- 11 contributors
Publishes a copy of a Microsoft PowerPoint presentation as a file in a fixed format, either PDF or XPS.
expression . ExportAsFixedFormat ( Path , FixedFormatType , Intent , FrameSlides , HandoutOrder , OutputType , PrintHiddenSlides , PrintRange , RangeType , SlideShowName , IncludeDocProperties , KeepIRMSettings , DocStructureTags , BitmapMissingFonts , UseISO19005_1 , ExternalExporter )
expression An expression that returns a Presentation object.
The ExportAsFixedFormat method is the equivalent of the Save As PDF or XPS command on the Office menu in the PowerPoint user interface. The method creates a file that contains a static view of the active presentation.
The FixedFormatType parameter value can be one of these PpFixedFormatType constants.
The Intent parameter value can be one of these PpFixedFormatIntent constants.
The FrameSlides parameter value can be one of these MsoTriState constants.
The HandoutOrder parameter value can be one of these PpPrintHandoutOrder constants.
The OutputType parameter value can be a combination of one or more of these PpPrintOutputType constants.
The PrintHiddenSlides parameter value can be one of these MsoTriState constants.
The RangeType parameter value can be one of these PpPrintRangeType constants.
Set BitmapMissingFonts to True when font licensing does not permit you to embed a font in the PDF file. If you set this parameter to False , the font is referenced, and the viewer's computer substitutes an appropriate font if the authored one is not available.
The KeepIRMSettings parameter behaves specially for PDF. It controls the retention of both labels and encryption to the output file. For more information, see Manage sensitivity labels in Office apps .
The PrintRange parameter is required, but can be set to Nothing for all.
If the presentation is not fully downloaded, this method fails and an error occurs. For more information about the Partial Documents, see Work with Partial Documents .
The following example shows how to use the ExportAsFixedFormat method to export the active presentation as a .pdf file named test.pdf to the user's Documents folder.
Manage sensitivity labels in Office apps
Work with Partial Documents
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.
Was this page helpful?
IMAGES
VIDEO