Click or drag to resize

Presentation Class

Represents an Presentation document.
Inheritance Hierarchy
System Object
Spire.Presentation PptObject
Spire.Presentation _Presentation
Spire.Presentation Presentation

Namespace: Spire.Presentation
Assembly: Spire.Presentation (in Spire.Presentation.dll) Version: 10.4.2.0 (10.4.2.6046)
Syntax
public sealed class Presentation : _Presentation

The Presentation type exposes the following members.

Constructors
Properties
Name Description
Public property AutoCompressPictures
Indicates that Compress Pictures feature automatically reduces the file size of pictures.
Public property BookmarkIdSeed
Bookmark ID Seed.
Public property CommentAuthors
Gets CommentAuthor List.
Public property DateTimeVisible
Gets or sets value .Specifies whether Date-Time placeholder is enabled for this master
Public property DefaultTextStyle
Default paragraph and list style.
Public property DFlag
Public property DocumentProperty
Gets Standard and custom document properties.
Public property EmbedTrueTypeFonts
Indicates whther embeds TrueType fonts in a document when it's saved.
Public property FirstSlideNumber
Slide number that appears on the first slide in your presentation.
Public property FooterVisible
Gets or sets value .Specifies whether the Footer placeholder is enabled for this master
Public property FormatAndVersion
Gets the the Format and Version of file; read-only
Public property GrayLevelForPrint
Whether to set gray level for printing
Public property HandoutMaster
Gets a master for all notes slides of this presentation.
Public property HasMacros
Specifies whether contains VBA macros.
Public property HighQualityImage
Determine whether the document is encrypted file stream
Public property Images
Gets the collection of all images.
Public property IsDigitallySigned
Indicates whether this spreadsheet is digitally signed.
Public property IsNoteRetained
Indicates whether the note is retained in converting to SVG.
Public property Masters
Gets a list of all master slides.
Public property NotesMaster
Gets a master for all notes slides of this presentation.
Public property NotesSlideSize
Gets note slide size object.
Public property OrderForPrint
The order of Print.
Public property Parent
Reference to Parent object. Read-only.
(Inherited from PptObject .)
Public property SaveSubsetFonts
Indicates whther embeds subset TrueType fonts in a document when it's saved.
Public property SaveToHtmlOption
Public property SaveToPdfOption
SaveToPdfOption
Public property SaveToPptxOption
save to pptx option.
Public property SaveToSvgOption
Save to Svg option.
Public property SectionList
Public property ServerZoom
Specifies a zoom level for visual representations of the document.
Public property ShowAnimation
Specifies whether slide show animation should be shown when presenting
Public property ShowLoop
Specifies whether the slide show should be set to loop at the end
Public property ShowNarration
Specifies whether slide show narration should be played when presenting
Public property ShowType
Specifies the slide show type
Public property SlideCountPerPageForPrint
Number of total slides per page.
Public property SlideFrameForPrint
Whether to set slideFrame for printing.
Public property SlideNumberVisible
Gets or sets value .Specifies whether the slide number placeholder is enabled for this master
Public property Slides
Gets a list of all slides.
Public property SlideSize
Get slide size.
Public property SlideSizeAutoFit
Public property StrictFirstAndLastCharacters
Public property TagsList
Gets the tags collection.
Public property ThemePath
Public property UseTimings
Specifies whether slide transition timing should be used to advance slides when presenting
Public property Videos
Gets the collection of all embedded video.
Public property WavAudios
Gets the collection of all embedded audio.
Top
Methods
Name Description
Public method AddDigitalSignature
Add a DigitalSignature.
Public method AddEmbeddedFont
Add Embedded Font
Public method DeleteMacros
Delete the Macros
Public method Dispose
Releases all resources used by the Presentation
(Overrides PptObject Dispose .)
Public method Encrypt
Encrypts with specified password.
Public method Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object .)
Public method FindSlide
Find a slide by ID.
Public method GetBytes
Converts the document to an array of bytes.
(Overrides _Presentation GetBytes .)
Public method GetDigitalSignatures
Get collection of DigitalSignature in this file.
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object .)
Public method Static member GetMSCDFileEntryNames
Get All enrties name.
Public method GetStream
Gets the document as a stream to read from.
(Overrides _Presentation GetStream .)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object .)
Public method IsPasswordProtected(Stream)
Determine whether the document is encrypted file stream
Public method IsPasswordProtected(String)
Determine whether the document is encrypted
Public method LoadFromFile(String)
Opens the document from a file.
(Overrides _Presentation LoadFromFile(String) .)
Public method LoadFromFile(String, FileFormat) (Overrides _Presentation LoadFromFile(String, FileFormat) .)
Public method LoadFromFile(String, String)
Opens the document from a file.
(Overrides _Presentation LoadFromFile(String, String) .)
Public method LoadFromFile(String, FileFormat, String) (Overrides _Presentation LoadFromFile(String, FileFormat, String) .)
Public method LoadFromStream(Stream, FileFormat)
Opens the document from a stream.
(Overrides _Presentation LoadFromStream(Stream, FileFormat) .)
Public method LoadFromStream(Stream, FileFormat, String)
Opens the document from a stream.
(Overrides _Presentation LoadFromStream(Stream, FileFormat, String) .)
Public method OnlineSaveToFile
used for online.
Public method Print(PrinterSettings)
Prints the presentation according to the specified printer settings.
Public method Print(String)
Print the whole presentation to the specified printer.
Public method Print(PresentationPrintDocument)
Public method Print(PrinterSettings, String)
Prints the document according to the specified printer settings, using the standard (no User Interface) print controller and a presentation name.
Public method Protect
Protection for this presentation.
Public method RemoveAllDigitalSignatures
Remove all DigitalSignature in this file.
Public method RemoveEncryption
Removes the encryption.
Public method RemoveProtect
Remove proection.
Public method ReplaceAndFormatText
Replaces all matched string with new value with the format in the Document.
Public method Static member ResetDefaultFontName
reset default font name .
Public method SaveToFile(Stream, FileFormat)
Saves the document to the specified stream.
(Overrides _Presentation SaveToFile(Stream, FileFormat) .)
Public method SaveToFile(String, FileFormat)
Saves the document to the specified file.
(Overrides _Presentation SaveToFile(String, FileFormat) .)
Public method SaveToHttpResponse(String, FileFormat, HttpResponse)
Save Presation to the http response.
Public method SaveToHttpResponse(String, FileFormat, HttpResponse, Boolean)
Save Presation to the http response.
Public method SaveToSVG
Saves the document to the SVG Format.
Public method SelectSlidesForPrint
Select print slides
Public method Static member SetCustomFontsDirctory
Set directory where the custom font is located.
Public method SetCustomFontsFolder
Set folder where the custom font is located. the fonts folfer.
Public method SetDateTime(DateTime)
Public method SetDateTime(DateTime, String)
Public method SetDateTimeVisible Obsolete.
Public method Static member SetDefaultFontName
The font is preferred to convert to pdf or pictures, when the font used in the document is not installed in the system.
Public method SetFooterText
Public method SetFooterVisible Obsolete.
Public method SetPageSize
Set page size.
Public method SetSlideNoVisible Obsolete.
Public method SprBpcmUuRG9jLkRvY3Vt
Public method ToString
Returns a string that represents the current object.
(Inherited from Object .)
Top
See Also