Skip to content

Commit 56ec4b1

Browse files
authored
Create PowerPoint.presentation.exportasfixedformat3.md
Added documentation for this new method. It is based on ExportAsFixedFormat2 and adds 3 new parameters. For backward compatibility we has to add a new method rather than change the existing ExportAsFixedFormat2 method.
1 parent 320f568 commit 56ec4b1

File tree

1 file changed

+63
-0
lines changed

1 file changed

+63
-0
lines changed

Diff for: api/PowerPoint.presentation.exportasfixedformat3.md

+63
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
---
2+
title: Presentation.ExportAsFixedFormat3 method (PowerPoint)
3+
keywords: vbapp10.chm583139
4+
f1_keywords:
5+
- vbapp10.chm583139
6+
ms.assetid: 55a9c44e-e82d-4cb8-9b21-bd491087c1e9
7+
ms.date: 07/10/2024
8+
ms.localizationpriority: medium
9+
---
10+
11+
# Presentation.ExportAsFixedFormat3 method (PowerPoint)
12+
13+
Publishes a copy of a Microsoft PowerPoint presentation as a file in a fixed format, either PDF or XPS.
14+
15+
## Syntax
16+
17+
_expression_.**ExportAsFixedFormat3** (_Path_, _FixedFormatType_, _Intent_, _FrameSlides_, _HandoutOrder_, _OutputType_, _PrintHiddenSlides_, _PrintRange_, _RangeType_, _SlideShowName_, _IncludeDocProperties_, _KeepIRMSettings_, _DocStructureTags_, _BitmapMissingFonts_, _UseISO19005_1_, _IncludeMarkup_, _ExternalExporter_, _Bookmarks_, _DocumentMarkup_, _PromotedHyperlinkShape_)
18+
19+
_expression_ A variable that represents a **[Presentation](PowerPoint.Presentation.md)** object.
20+
21+
## Parameters
22+
23+
|Name|Required/Optional|Data type|Description|
24+
|:-----|:-----|:-----|:-----|
25+
| _Path_|Required|**String**|The path for the export.|
26+
| _FixedFormatType_|Required|**PpFixedFormatType**|The format to which the slides should be exported.|
27+
| _Intent_|Optional|**PpFixedFormatIntent**|The purpose of the export.|
28+
| _FrameSlides_|Optional|**MsoTriState**|Whether the slides to be exported should be bordered by a frame.|
29+
| _HandoutOrder_|Optional|**PpPrintHandoutOrder**|The order in which the handout should be printed.|
30+
| _OutputType_|Optional|**PpPrintOutputType**|The type of output.|
31+
| _PrintHiddenSlides_|Optional|**MsoTriState**|Whether to print hidden slides.|
32+
| _PrintRange_|Required|**PrintRange**|The slide range. Can be set to `Nothing` for all|
33+
| _RangeType_|Optional|**PpPrintRangeType**|The type of slide range.|
34+
| _SlideShowName_|Optional|**String**|The name of the slide show.|
35+
| _IncludeDocProperties_|Optional|**Boolean**|Whether the document properties should also be exported. The default is **False**.|
36+
| _KeepIRMSettings_|Optional|**Boolean**|Whether the IRM settings should also be exported.</br></br>If _FixedFormatType_ is _PpFixedFormatTypePDF_, this flag determines if labels and IRM settings should be exported.</br></br>The default is **True**.|
37+
| _DocStructureTags_|Optional|**Boolean**|Whether to include document structure tags to improve document accessibility. The default is **True**.|
38+
| _BitmapMissingFonts_|Optional|**Boolean**|Whether to include a bitmap of the text. The default is **True**.|
39+
| _UseISO19005_1_|Optional|**Boolean**|Whether the resulting document is compliant with ISO 19005-1 (PDF/A). The default is **False**.|
40+
| _IncludeMarkup_|Optional|**Boolean**|Whether the resulting document should include associated pen marks.|
41+
| _Bookmarks_|Optional|**Boolean**|Whether bookmarks for each section and slide should be included in the exported document. When using this option, external exporters should not add their own bookmarks for sections or slides. The default is **True**.|
42+
| _DocumentMarkup_|Optional|**Boolean**|Whether the **Document** tag should be included in the document structure tags. When using this option, external exporters should not add their own **Document** tag. The default is **True**.|
43+
| _PromotedHyperlinkShape_|Optional|**Boolean**|Whether hyperlinks should be promoted to siblings of objects rather than nested within objects in document structure tags. Transparent text elements with alpha of 0 are included for the hyperlinks and external exporters should respect the alpha value so that they are not visible in the document. The default is **True**.|
44+
| _ExternalExporter_|Optional|**Variant**|A pointer to an Office add-in that implements the **IMsoDocExporter** COM interface and allows calls to an alternate implementation of code. The default is a null pointer.|
45+
46+
## Return value
47+
48+
**VOID**
49+
50+
## Remarks
51+
52+
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](/microsoft-365/compliance/sensitivity-labels-office-apps?view=o365-worldwide#pdf-support&preserve-view=true).
53+
54+
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](~/powerpoint/How-to/work-with-partial-documents.md).
55+
56+
PrintRange is a required parameter, but may be set to `Nothing`. If not supplied, the call will fail with a `Type mismatch`
57+
58+
### See also
59+
[Manage sensitivity labels in Office apps](/microsoft-365/compliance/sensitivity-labels-office-apps?view=o365-worldwide#pdf-support&preserve-view=true)
60+
61+
[Work with Partial Documents](~/powerpoint/How-to/work-with-partial-documents.md)
62+
63+
[!include[Support and feedback](~/includes/feedback-boilerplate.md)]

0 commit comments

Comments
 (0)