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

    Specifies options for document content sanitization.
    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.
    See Also