Document Class
Represents document of any type (format) supporting redactions
Inheritance Hierarchy

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

The Document type exposes the following members.

Public methodDocument
Initializes a new instance of the Document class
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
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