PowerPointLoadOptions
OfficeIMO.PowerPoint
Controls access, persistence, and package behavior when loading a PowerPoint presentation.
Inheritance
- DocumentLoadOptions
- PowerPointLoadOptions
Usage
Explore 4 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 1
Accepted by parameters 3
- Method PowerPointDocument.Load
- Method PowerPointDocument.LoadAsync
- Method PowerPointSlideReader.Open
Constructors
public PowerPointLoadOptions() #Inherited Methods
Properties
public static PowerPointLoadOptions UntrustedDefaults { get; } #Creates bounded options that reject active, embedded, and externally linked package content.
public long? MaxInputBytes { get; set; } #Maximum presentation bytes buffered by load APIs. Default: 512 MiB. Set to null to disable this compatibility guard.
public bool AllowLegacyProjection { get; set; } #Allows native binary PPT projection into an Open XML model. Default: true. False rejects that source family before secondary payload projection, including mislabeled input.
public OfficeOpenXmlLoadSettings? OpenSettings { get; set; } #Provides optional low-level Open XML package settings.
public bool ReportUnsupportedContent { get; set; } #Gets or sets whether recognized but unsupported content is reported as warnings.
public int MaxRecordCount { get; set; } #Gets or sets the maximum number of binary records traversed.
public int MaxSlideCount { get; set; } #Gets or sets the maximum number of decoded slides.
public int MaxRecordDepth { get; set; } #Gets or sets the maximum nested record depth.
public int MaxMasterCount { get; set; } #Gets or sets the maximum number of decoded main and title masters.
public int MaxConnectorRuleCount { get; set; } #Gets or sets the maximum aggregate number of decoded connector rules.
public int MaxCommentCount { get; set; } #Gets or sets the maximum aggregate number of decoded comments.
public int MaxTextStyle9EntryCount { get; set; } #Gets or sets the maximum number of PPT9 style entries decoded for one text body.
public long MaxDecodedStorageBytes { get; set; } #Maximum aggregate decoded storage bytes in a legacy presentation.
public string? Password { get; set; } #Password used to open an encrypted source.
public int MaxLegacyInputBytes { get; set; } #Maximum binary source bytes.
Inherited Properties
public DocumentAccessMode AccessMode { get; set; } #public OfficePackageSecurityOptions? PackageSecurity { get; set; } #public bool CaptureSourcePackageSecurity { get; set; } #public DocumentPersistenceMode PersistenceMode { get; set; } #Fields
public const long DefaultMaxInputBytes #Default maximum complete source size (512 MiB).
536870912