PresentationSaveOptions Class
Allows to specify custom options for generating and saving Presentation (PowerPoint-compatible) documents
Inheritance Hierarchy
SystemObject
  GroupDocs.Editor.OptionsPresentationSaveOptions

Namespace: GroupDocs.Editor.Options
Assembly: GroupDocs.Editor (in GroupDocs.Editor.dll) Version: 20.11.0.0
Syntax
public sealed class PresentationSaveOptions : ISaveOptions

The PresentationSaveOptions type exposes the following members.

Constructors
  NameDescription
Public methodPresentationSaveOptions
Creates a new instance of PresentationSaveOptions with specified mandatory Presentation output format, while all other parameters are default
Properties
  NameDescription
Public propertyInsertAsNewSlide
Boolean flag, which specifies whether edited slide should replace the existing slide in original presentation on the position, specified by the SlideNumber property, or it should be injected between existing slide and previous one, without replacing its content. By default is false — existing slide will be replaced. This property is ignored, if value of SlideNumber property is set to '0'.
Public propertyOutputFormat
Allows to specify a Presentation format, which will be used for saving the document
Public propertyPassword
Allows to specify, modify and obtain the password, which will be used for encoding the resultant Presentation document. By default is NULL - password will not be set. Set to NULL or empty string in order to remove the password, if it was set previously.
Public propertyCode exampleSlideNumber
Allows to insert edited slide into existing presentation instead of creating a new single-slide presentation (default behavior). Slide number is a 1-based number of a slide in the presentation, loaded in the Editor class. If it is 0 (default value), the new presentation will be created with single edited slide. If it is greater or lesser then zero, and there is valid presentation, loaded in the Editor class, the edited slide, stored inside input EditableDocument instance, will be inserted into this presentation.
Remarks
Instance of this class should be passed into the Save(EditableDocument, Stream, ISaveOptions) method in order to save edited presentation into the final document of some Presentation-specific format. Its constructor has one mandatory parameter — format of the output Presentation. All other parameters are optional and may be omitted.
See Also