PptxLoadOptions Class
Represents a class that stores loading options for PowerPoint Presentation (PPTX) format.
public sealed class PptxLoadOptions : LoadOptionsPublic NotInheritable Class PptxLoadOptions
Inherits LoadOptions- Inheritance:
- System.ObjectPptxLoadOptions
Constructors
PptxLoadOptions()
Initializes a new instance of the PptxLoadOptions class.
Properties
Password
Gets or sets the password to open protected / encrypted presentation.
Property Value
- System.String
The password to open protected / encrypted presentation.
Methods
IsEncrypted(Stream)
Determines whether the file is an encrypted PPTX.
public static bool IsEncrypted(Stream stream)Public Shared Function IsEncrypted(stream As Stream) As BooleanParameters
stream- System.IO.Stream
The stream from which to read a file.
Returns
- System.Boolean
true if file is an encrypted PPTX; otherwise, false.
IsEncrypted(String)
Determines whether the file is an encrypted PPTX.
public static bool IsEncrypted(string path)Public Shared Function IsEncrypted(path As String) As BooleanParameters
path- System.String
The path from which to read a file.
Returns
- System.Boolean
true if file is an encrypted PPTX; otherwise, false.
Events
ProgressChanged
Occurs when the loading progress of a file has changed.
public event EventHandler<OperationProgressChangedEventArgs> ProgressChangedPublic Event ProgressChanged As EventHandler(Of OperationProgressChangedEventArgs)Event Type
- System.EventHandler<OperationProgressChangedEventArgs>
Remarks
The file path or stream that was provided as a file source is used as a System.ComponentModel.ProgressChangedEventArgs.UserState.
Inherited Properties
| Html | Gets the default loading options for HTML content. (Inherited from LoadOptions) |
| Ppt | Gets the default loading options for PowerPoint 97-2003 Presentation (PPT) format. (Inherited from LoadOptions) |
| Pptx | Gets the default loading options for PowerPoint Presentation (PPTX) format. (Inherited from LoadOptions) |
| PreserveUnsupportedFeatures | Gets or sets a value indicating whether to preserve file format features that are not directly supported through GemBox.Presentation object model. (Inherited from LoadOptions) |