API Reference
Class
WordLoadOptions
Controls access, persistence, and package behavior when loading a Word document.
Inheritance
- DocumentLoadOptions
- WordLoadOptions
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
- Property WordLoadOptions.UntrustedDefaults
Accepted by parameters 3
- Method WordDocument.Load
- Method WordDocument.LoadAsync
- Method WordDocument.LoadEncrypted
Constructors
public WordLoadOptions() #Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?
Properties
public static WordLoadOptions UntrustedDefaults { get; } #Creates bounded options that reject active, embedded, and externally linked package content.
public Int64 MaxInputBytes { get; set; } #Maximum number of source bytes accepted before Word package parsing begins.
public Boolean OverrideStyles { get; set; } #Replaces existing styles with OfficeIMO defaults when the document is editable.
public OfficeOpenXmlLoadSettings? OpenSettings { get; set; } #Provides optional low-level Open XML package settings.
Inherited Properties
Fields
public const Int64 DefaultMaxInputBytes #Default maximum complete source size (512 MiB).
Value:
536870912