Document Class
Represents document of any type (format) supporting redactions
Inheritance Hierarchy
SystemObject
  GroupDocs.RedactionDocument

Namespace: GroupDocs.Redaction
Assembly: GroupDocs.Redaction (in GroupDocs.Redaction.dll) Version: 19.3
Syntax
public sealed class Document : IDisposable

The Document type exposes the following members.

Constructors
  NameDescription
Public methodDocument
Initializes a new instance of the Document class
Properties
  NameDescription
Public propertyDocumentPath
Document file path. Unavailable when the document was opened from stream
Public propertyFormatInstance
An instance of document format connector, which was used to open the document
Methods
  NameDescription
Public methodDispose
Disposes any resources, associated with the document
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Public methodCode exampleRedactWith(Redaction)
Apply redaction to the document
Public methodCode exampleRedactWith(Redaction)
Apply a set of redactions to the document
Public methodSave
Save the document to a file with the following options: AddSuffix = true, RasterizeToPDF = true
Public methodCode exampleSave(SaveOptions)
Save the document to a file
Public methodCode exampleSave(Stream, SaveOptions)
Save the document to a stream, including custom location
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also