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

    Specifies options for document content sanitization.

    Constructors

    Name Description
    WordProcessingSanitizeOptions() Initializes a new instance of the WordProcessingSanitizeOptions class.

    Properties

    Name Description
    HiddenText Gets or sets how to sanitize hidden text in the document.
    InvisibleText Gets or sets how to sanitize invisible text in the document.
    Metadata Gets or sets the scope of metadata to remove from a document or a workbook. Inherited from SanitizeOptions.
    RemoveActiveXContent Gets or sets whether to remove ActiveX content from a document or a workbook. Inherited from SanitizeOptions.
    RemoveComments Gets or sets whether to remove comments from a document or a workbook. Inherited from SanitizeOptions.
    RemoveCustomXmlParts Gets or sets whether to remove custom XML parts from a document or a workbook. Inherited from SanitizeOptions.
    RemoveMacros Gets or sets whether to remove macros from a document or a workbook. Inherited from SanitizeOptions.
    RemoveOleObjects Gets or sets whether to remove OLE objects from a document or a workbook. Inherited from SanitizeOptions.
    TrackedChanges Gets or sets how to sanitize tracked changes in the document.

    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.
    FromInspectResult(WordProcessingInspectResult) static Creates a new instance of the WordProcessingSanitizeOptions class based on the specified inspection result.
    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