Skip to main content
All docs
V26.1
  • SanitizeOptions Members

    Base class for options that specify how to sanitize a document or a workbook.

    Properties

    Name Description
    Metadata Gets or sets the scope of metadata to remove from a document or a workbook.
    RemoveActiveXContent Gets or sets whether to remove ActiveX content from a document or a workbook.
    RemoveComments Gets or sets whether to remove comments from a document or a workbook.
    RemoveCustomXmlParts Gets or sets whether to remove custom XML parts from a document or a workbook.
    RemoveMacros Gets or sets whether to remove macros from a document or a workbook.
    RemoveOleObjects Gets or sets whether to remove OLE objects from a document or a workbook.

    Methods

    Name Description
    Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
    Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
    GetHashCode() Serves as the default hash function. Inherited from Object.
    GetType() Gets the Type of the current instance. Inherited from Object.
    MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
    ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
    ToString() Returns a string that represents the current object. Inherited from Object.
    See Also