This topic describes the API operations of presentation documents.
MsoTriState
Specifies whether the exported presentation has borders.
Usage notes
expression.Enum.MsoTriState.msoTrueexpression: the document type application object.
Parameters
Property
Value
Description
msoTrue
-1
The exported presentation has borders.
msoFalse
0
The exported presentation does not have borders.
PpFixedFormatIntent
Specifies the intent of the fixed-format file export,
Usage notes
expression.Enum.PpFixedFormatIntent.ppFixedFormatIntentScreenexpression: the document type application object.
Parameters
Property
Value
Description
ppFixedFormatIntentScreen
1
The intent is to view the exported file on screen.
ppFixedFormatIntentPrint
2
The purpose is to print the exported file.
PpFixedFormatType
Specifies the format of file that you want to export.
Usage notes
expression.Enum.PpFixedFormatType.ppFixedFormatTypeXPSexpression: the document type application object.
Parameters
Property
Value
Description
ppFixedFormatTypeXPS
1
The XPS format.
ppFixedFormatTypePDF
2
The PDF format.
ppFixedFormatTypeIMG
3
The IMG format.
PpPrintHandoutOrder
Specifies the page layout order in which slides appear on printed handouts that show multiple slides on one page.
Usage notes
expression.Enum.PpPrintHandoutOrder.ppPrintHandoutHorizontalFirstexpression: the document type application object.
Parameters
Property
Value
Description
ppPrintHandoutVerticalFirst
1
Slides are ordered vertically, with the first slide in the upper-left corner and the second slide below it. If your language setting specifies a right-to-left language, the first slide is in the upper-right corner with the second slide below it.
ppPrintHandoutHorizontalFirst
2
Slides are ordered horizontally, with the first slide in the upper-left corner and the second slide to the right of it. If your language setting specifies a right-to-left language, the first slide is in the upper-right corner with the second slide to the left of it.
PpPrintOutputType
Specifies which component of the presentation is to be printed.
Usage notes
expression.Enum.PpPrintOutputType.ppPrintOutputSlidesexpression: the document type application object.
Parameters
Property
Value
Description
ppPrintOutputSlides
1
Slides.
ppPrintOutputTwoSlideHandouts
2
Two slides handouts.
ppPrintOutputThreeSlideHandouts
3
Three slide handouts.
ppPrintOutputSixSlideHandouts
4
Six slide handouts.
ppPrintOutputNotesPages
5
Notes pages.
ppPrintOutputOutline
6
Outline.
ppPrintOutputBuildSlides
7
Build slides.
ppPrintOutputFourSlideHandouts
8
Four slide handouts.
ppPrintOutputNineSlideHandouts
9
Nine slide handouts.
ppPrintOutputOneSlideHandouts
10
Single slide handouts.
PpPrintRangeType
Specifies the type of print range for the presentation.
Usage notes
expression.Enum.PpPrintRangeType.ppPrintAllexpression: the document type application object.
Parameters
Property
Value
Description
ppPrintAll
1
Print all slides in the presentation.
ppPrintSelection
2
Print a selection of slides.
ppPrintCurrent
3
Print the current slide from the presentation.
ppPrintSlideRange
4
Print a range of slides.
ppPrintNamedSlideShow
5
Print a named slideshow.
PpToolType
Specifies whether to display the right-click menu and the tooltips that appear when you move the pointer over hyperlinks and images.
Usage notes
expression.Enum.PpToolType.pcPlayingMenuexpression: the document type application object.
Parameters
Property
Value
Description
pcPlayingMenu
pc_playing_menu
Display the right-click menu.
pcPlayHoverLink
pc_play_hover_link
Display the hyperlink tooltip.
pcImageHoverTip
pc_image_hover_tip
Display the image tooltip.
ZoomToFitType
Specifies whether to zoom in or zoom out the view size to fit the window size.
Usage notes
expression.Enum.ZoomToFitType.msoTrueexpression: the document type application object.
Parameters
Property
Value
Description
msoTrue
-1
The view is zoomed to fit the dimensions of the document window every time the document window is resized.
msoFalse
0
The view is not zoomed to fit the dimensions of the document window every time the document window is resized.
PpExportImgFormatType
Specifies the format of the image that you want export.
Usage notes
expression.Enum.PpExportImgFormatType.ppImgTypePNGexpression: the document type application object.
Parameters
Property
Value
Description
ppImgTypePNG
0
The PNG format.
ppImgTypeJPG
1
The JPEG format.
ppImgTypeBMP
2
The BMP format.
ppImgTypeTIF
3
The TIFF format.
MsoLineStyle
Specifies the style for a line.
Usage notes
expression.Enum.MsoLineStyle.msoLineThickThinexpression: the document type application object.
Parameters
Property
Value
Description
msoLineSingle
'single'
Single line.
msoLineThickBetweenThin
'thin_thick_thin'
Thick line with a thin line on each side.
msoLineThickThin
'thick_thin'
Thick line above a thin line.
msoLineThinThick
'thin_thick'
Thick line below a thin line.
msoLineThinThin
'double'
Two thin lines.
MsoLineDashStyle
Specifies the dash style for a line.
Usage notes
expression.Enum.MsoLineDashStyle.msoLineDashDotexpression: the document type application object.
Parameters
Property
Value
Description
msoLineDash
'short_dash'
Dashes.
msoLineDashDot
'dash_dot'
Dash-dot pattern.
msoLineDashDotDot
'double_dot'
Dash-dot-dot pattern.
msoLineRoundDot
'round_dot'
Dots.