Namespace DRIT.Presentation
Classes
AbstractSlide
Provides the common content and text operations for slides, masters, and layouts.
BinaryChartImportReport
Represents the binary chart import report used by the presentation model.
BinaryChartImportShapeReport
Represents the binary chart import shape report used by the presentation model.
BinaryChartImportSlideReport
Represents the binary chart import slide report used by the presentation model.
BinaryChartImportTraceEntry
Represents the binary chart import trace entry used by the presentation model.
BinaryExternalObjectProjection
Read-only projection of binary-origin external object metadata associated with a shape.
BinaryHyperlinkProjection
Represents the binary hyperlink projection used by the presentation model.
BinaryMediaObjectProjection
Represents the binary media object projection used by the presentation model.
BinaryOleObjectProjection
Represents the binary ole object projection used by the presentation model.
BinaryParserDiagnosticEntry
Represents the binary parser diagnostic entry used by the presentation model.
BinaryParserDiagnostics
Represents the binary parser diagnostics used by the presentation model.
BinaryPreservationTagEntry
Records an individual binary record field that was read but not yet mapped to the API model. Collected in TaggedFields.
Certificate
Wraps an X.509 certificate used for digitally signing a presentation. Provides a lightweight, presentation-focused view of the underlying X509Certificate2.
Used by PptxDigitalSignatureSaveOptions when signing PPTX packages.
CloneContext
Maintains source-to-destination mappings while slides are cloned between presentations. The mappings allow internal slide hyperlinks to be rewritten to the corresponding destination slides.
Comment
Represents the comment used by the presentation model.
CommentAuthor
Represents a comment author tracked across a presentation.
CommentCollection
An ordered collection of Comment objects belonging to a slide.
Control
Represents an ActiveX control embedded on a slide.
Maps to the OOXML ctrl part within the slide's control
relationship.
ControlCollection
A collection of Control objects on a slide.
Maps to the collection of ctrl parts associated with a
slide in the OOXML package.
ControlFrame
Describes the position, size, flips, and rotation of an ActiveX control's drawing frame.
CustomShow
Represents a named custom slide show.
CustomShowCollection
An ordered collection of CustomShow objects for a presentation.
CustomXmlPart
Represents a custom XML part stored in a presentation package.
CustomXmlPartCollection
An ordered collection of CustomXmlPart objects belonging to a presentation.
DrawingGuide
Represents a drawing guide in presentation view coordinates.
DrawingGuideCollection
Represents the drawing guides associated with a presentation view.
FontFallBackRule
Represents a single font fallback rule that maps a Unicode range to a collection of fallback font names. When a character falls outside the range of the primary font, the fallback rule determines which font to use instead.
Maps to the OOXML font fallback table used for Unicode range coverage.
FontFallBackRulesCollection
A collection of FontFallBackRule objects that define Unicode-range-to-font fallback mappings for the presentation.
FontInfo
Describes a font used in the presentation, including its typeface name and whether it is embedded.
Maps to entries in the OOXML p:embeddedFontLst and the
font collection of the presentation.
FontSubstRule
Represents a single font substitution rule that maps a source font name to a destination font name.
Maps to entries in the OOXML p:embeddedFontLst substitution
metadata and the presentation's font substitution table.
FontSubstRuleCollection
A collection of FontSubstRule objects that define font substitution mappings for the presentation.
FontsManager
Manages fonts for a Presentation, including enumerating used fonts, embedding and removing embedded fonts, and configuring font substitution and fallback rules.
Maps to the OOXML p:embeddedFontLst element and the
embedded font parts in the presentation package.
HtmlFormatter
Controls the structure and rendering mode of the HTML output produced by HtmlOptions.
Use the static Create methods for common configurations,
or construct directly and set properties for full control.
HtmlOptions
Save options for exporting a presentation to HTML. Inherits common progress/cancellation from SaveOptions.
Hyperlink
Describes a hyperlink attached to presentation content.
ImageSaveOptions
Save options for exporting slides as raster images (PNG, JPEG, etc.). Inherits common progress/cancellation from SaveOptions.
InterruptionToken
Propagates a cooperative cancellation request to long-running save, load, and export operations. Created by InterruptionTokenSource; pass the token via InterruptionToken or InterruptionToken.
Operations that accept a token periodically check IsCancellationRequested and throw OperationCanceledException when cancellation is requested.
InterruptionTokenSource
Creates and controls an InterruptionToken, similar to CancellationTokenSource. Call Cancel() to request cancellation of the associated token.
LayoutSlide
Defines a reusable slide layout and its placeholder content.
LayoutSlideCollection
A typed collection of LayoutSlide objects on a SlideMaster. Inherits all List<T> operations and adds AddClone(LayoutSlide) convenience method.
LicenseException
Thrown when a licensed output operation is attempted without a valid license.
LoadOptions
Abstract base class for all load options. Format-specific options classes (PptxLoadOptions) inherit from this class.
Common properties available on all load options:
- Password — password for encrypted files.
- PreserveUnsupportedFeatures — keep unsupported features on load.
- ProgressCallback — receive progress updates during long loads.
- InterruptionToken — cooperatively cancel a long load.
MarkdownOptions
Save options for exporting a presentation to Markdown.
MediaBookmark
Represents a bookmark within a media object, identified by a name
and a time offset. Maps to the OOXML p:bookmark element.
MediaBookmarkCollection
A collection of MediaBookmark objects on a
MediaObject. Provides Add, Insert,
Remove, Clear, and indexer access.
MediaObject
Represents media information associated with a shape.
MediaSegment
Represents a media segment with start and end time offsets.
Used for trim (playback window) and fade (fade-in/fade-out) settings.
Maps to the OOXML p:trim and p:fade elements.
ModernComment
Represents a modern comment (PowerPoint 365) on a slide. Modern comments support threaded replies, resolution status, and parent-child relationships.
Maps to the OOXML p19:cm extension element.
ModernCommentCollection
Represents the top-level threaded comments belonging to a presentation slide. Replies are exposed through each ModernComment instance.
ModifyProtection
Represents modify-protection settings for a presentation. When a modify password is set, the presentation can be opened read-only without the password, but modifications require the password to be entered.
Maps to the OOXML p:modifyVerifier element.
NormalViewPortion
Represents the sizing of a restored portion (left or top) in the normal view of a presentation.
Maps to the OOXML p:restoredLeft / p:restoredTop
elements (CT_NormalViewPortion).
NormalViewProperties
Represents the normal view properties of a presentation — the splitter bar states and restored window sizes that PowerPoint uses when displaying the presentation in normal (editing) view.
Maps to the OOXML p:normalViewPr element.
NotesSlide
Represents the notes page associated with a Slide.
Provides access to the notes slide's shape content and a convenience
Text property for reading or setting the notes body text.
Maps to the OOXML p:notes part.
NotesSlideManager
Manages the notes slide lifecycle for a Slide. Provides AddNotes() and RemoveNotes() operations that create or remove the associated NotesSlide.
OdfConversionDiagnosticEntry
Records one ODP feature that was not mapped during OdfPresentationFormat.Open.
OdfConversionDiagnostics
Holds conversion diagnostics produced during ODP open.
Set on OdfConversionDiagnostics after
OdfPresentationFormat.Open completes.
Null for presentations that were not loaded from ODP.
OleObject
Represents an OLE object associated with a shape.
OleObjectCollection
A collection of OleObject objects belonging to a presentation.
OpenXmlLoadError
Represents the open xml load error used by the presentation model.
PdfSaveOptions
Save options for exporting a presentation to PDF. Inherits common progress/cancellation from SaveOptions.
PptxDigitalSignatureInfo
Read-only metadata about a digital signature present in a PPTX package.
PptxDigitalSignatureSaveOptions
Digital signature parameters for PPTX save operations.
PptxLoadOptions
Load options for PPTX files.
PptxSaveOptions
Save options for PPTX files.
Presentation
Represents the presentation used by the presentation model.
PresentationPropertiesInfo
Represents the presentation properties info used by the presentation model.
PreservedFragment
Shared preserved-data envelope used across shape, slide, chart, and document scopes.
SaveOptions
Abstract base class for all save/export options. Format-specific options classes (PptxSaveOptions, ImageSaveOptions, PdfSaveOptions, XpsSaveOptions, HtmlOptions) inherit from this class.
Common properties available on all save options:
- ProgressCallback — receive progress updates during long saves.
- InterruptionToken — cooperatively cancel a long save.
Section
Represents a named section that groups one or more slides in a presentation.
SectionCollection
Collection of Section objects for a presentation.
Slide
Represents a presentation slide and its editable content.
SlideBackground
Represents the background of a slide, slide master, or slide layout.
Maps to the OOXML p:cSld/p:bg element.
SlideCollection
A typed collection of Slide objects on a Presentation. Inherits all List<T> operations and adds Add() (create new slide) and AddClone(Slide) convenience methods.
SlideHeaderFooter
Controls the visibility of header and footer placeholder elements on a slide master or layout. Null values indicate the attribute is absent in OOXML (element uses its inherited default).
SlideLayoutInfo
Represents the slide layout info used by the presentation model.
SlideMaster
Defines shared content and layout settings for presentation slides.
SlideMasterCollection
A typed collection of SlideMaster objects on a Presentation. Inherits all List<T> operations.
SlideMasterInfo
Represents the slide master info used by the presentation model.
SlideSize
Represents the slide size used by the presentation model.
SlideTextMatch
Represents one text match found on a slide together with its owning shape.
SlideTransitionInfo
Represents the slide transition info used by the presentation model.
SvgOptions
Save options for exporting slides as SVG (Scalable Vector Graphics). Inherits common progress/cancellation from SaveOptions.
TableStyle
Represents a table style defined in the presentation's table style list.
Maps to the OOXML a:tblStyle element inside tblStyleLst.
TableStyleCollection
A read-first collection of TableStyle objects available
in the presentation. Provides lookup by ID or name.
Maps to the OOXML tblStyleLst element.
TableStylesInfo
Represents the table styles info used by the presentation model.
TagCollection
A key-value collection of string tags for custom data storage on
shapes and slides. Keys are case-sensitive. Maps to the OOXML
p:custDataLst/p:tagLst elements.
ThemeInfo
Represents the theme info used by the presentation model.
ThemeResolutionDiagnosticEntry
Describes a theme value that could not be resolved from the active master.
ThemeResolutionDiagnostics
Collects theme-resolution issues encountered while loading or exporting.
TiffOptions
Save options for exporting slides as TIFF images. Inherits all ImageSaveOptions properties and adds TIFF-specific compression settings.
ViewPropertiesInfo
Represents the view properties info used by the presentation model.
XpsSaveOptions
Save options for exporting a presentation to XPS (XML Paper Specification). Inherits common progress/cancellation from SaveOptions.
Interfaces
IColorFormat
Represents a color used in a presentation.
IFillParamSource
Defines the IFillParamSource contract.
IPresentation
Defines the IPresentation contract.
IPresentationComponent
Defines the IPresentationComponent contract.
IProgressCallback
Callback interface for reporting progress during long-running save, load, and export operations. Implement this interface and pass an instance via ProgressCallback or ProgressCallback to receive progress updates.
IShape
Defines the IShape contract.
ISlideComponent
Defines the ISlideComponent contract.
Enums
BinaryPreservationTag
Classifies the preservation status of a binary record field that was not fully mapped to the API model during read.
ControlType
Specifies the type of an ActiveX control embedded on a slide.
FormatType
Identifies a FormatType value.
HtmlOutputMode
Controls how slides are rendered to HTML.
ImageFormat
Raster image format for slide export.
ModernCommentStatus
Specifies the resolution status of a modern comment (PowerPoint 365).
NotesPosition
Placement of speaker notes when exporting slides with notes.
OdfConversionDiagnosticKind
Classifies ODP features that could not be fully mapped to the API model during open.
OleObjectType
Identifies a OleObjectType value.
PdfAccessPermissions
Access permission flags for encrypted PDF output.
Maps to DRIT.Pdf.Security.UserAccessPermissions.
PdfCompliance
PDF compliance standard for exported documents.
PptxEncryptionExpectation
Indicates what encryption type the caller expects when loading PPTX files.
PptxEncryptionMode
Selects the package encryption mode when saving PPTX files.
PresentationLastViewType
Identifies a PresentationLastViewType value.
PresentationMode
Identifies a PresentationMode value.
PreservedFragmentScope
Identifies a PreservedFragmentScope option.
SvgTextMode
Specifies how text is emitted in SVG output.
TiffCompression
Compression scheme for TIFF image export.
XAdESType
XAdES signature level for PPTX digital signatures.