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

Class SaveOptions

Abstract base class for all save/export options. Format-specific options classes (PptxSaveOptions, ImageSaveOptions, PdfSaveOptions, XpsSaveOptions, HtmlOptions) inherit from this class.

Common properties available on all save options:

  • ProgressCallback — receive progress updates during long saves.
  • InterruptionToken — cooperatively cancel a long save.
Inheritance
object
SaveOptions
HtmlOptions
ImageSaveOptions
MarkdownOptions
PdfSaveOptions
PptxSaveOptions
SvgOptions
XpsSaveOptions
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 SaveOptions

Properties

CancellationToken

Gets or sets a cancellation token for cooperative cancellation of save 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 save pipeline checks IsCancellationRequested periodically and throws OperationCanceledException if cancellation is requested.

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

ProgressCallback

Gets or sets the progress callback for reporting save progress. When set, the save 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