• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class 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.
Inheritance
object
LoadOptions
PptxLoadOptions
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DRIT.Presentation
Assembly: DRIT.Presentation.dll
Syntax
public abstract class LoadOptions

Properties

CancellationToken

Gets or sets a cancellation token for cooperative cancellation of load operations. When set, this takes precedence over InterruptionToken.

Declaration
public CancellationToken CancellationToken { get; set; }
Property Value
Type Description
CancellationToken

InterruptionToken

Gets or sets the interruption token for cooperative cancellation. When set, the load pipeline checks IsCancellationRequested periodically and throws OperationCanceledException if cancellation is requested.

Declaration
public InterruptionToken InterruptionToken { get; set; }
Property Value
Type Description
InterruptionToken

Password

Gets or sets the password used to decrypt an encrypted file. When null or empty, the file is loaded without decryption.

Declaration
public string Password { get; set; }
Property Value
Type Description
string

PreserveUnsupportedFeatures

Gets or sets whether unsupported features in the source file are preserved as raw data for round-trip fidelity. When false (default), unsupported features are dropped during load.

Declaration
public bool PreserveUnsupportedFeatures { get; set; }
Property Value
Type Description
bool

ProgressCallback

Gets or sets the progress callback for reporting load progress. When set, the load pipeline calls Report(int, int, string) periodically.

Declaration
public IProgressCallback ProgressCallback { get; set; }
Property Value
Type Description
IProgressCallback
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX