Skip to main content
All docs
V26.1
  • Row

    WorkbookSanitizeOptions Members

    Specifies options for workbook content sanitization.

    Constructors

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

    Properties

    Name Description
    HiddenColumns Gets or sets how to sanitize hidden columns in the workbook.
    HiddenRows Gets or sets how to sanitize hidden rows in the workbook.
    HiddenSheets Gets or sets how to sanitize hidden sheets in the workbook.
    InvisibleCellText Gets or sets how to sanitize invisible cell text in the workbook.
    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.
    RemoveThreadedComments Gets or sets whether to remove threaded comments from the 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.
    FromInspectResult(WorkbookInspectResult) static Creates a new instance of the WorkbookSanitizeOptions 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