DocumentFormatInstance class
DocumentFormatInstance class
Represents a specific format of a document. Implement this class to add your own document types.
The DocumentFormatInstance type exposes the following members:
Properties
Property | Description |
---|---|
password | Gets or sets a password for password protected documents. |
Methods
Method | Description |
---|---|
initialize | Performs initialization of the instance of document format handler. |
load | Loads the document from a stream. |
save | Saves the document to a stream. |
is_redaction_accepted | Checks for IRedactionCallback implementation and invokes it, if specified. |
perform_binary_check | Checks if the given stream contains a document, supported by this format instance. |
Remarks
Learn more | | |
Example
The following example demonstrates how to create an empty stub for a custom format handler.
The following example demonstrates how to use the initialization data.
See Also
- module
groupdocs.redaction.integration
- class
IRedactionCallback