Interface IDocument

Namespace: PSPDFKit.Api
Assembly: Api.dll
Syntax
public interface IDocument

Properties

| Edit this page View Source

AnnotationManager

Gets annotation manager for the document.

Declaration
IAnnotationManager AnnotationManager { get; }
Property Value
Type Description
IAnnotationManager

Methods

| Edit this page View Source

CreateExportConfiguration()

Creates a default configuration object for exporting a document as a PDF.

Declaration
IExportConfiguration CreateExportConfiguration()
Returns
Type Description
IExportConfiguration

Default IExportConfiguration object.

| Edit this page View Source

ExportDocumentAsync(IExportConfiguration)

Exports the document contents as a byte array.

Declaration
Task<byte[]> ExportDocumentAsync(IExportConfiguration configuration)
Parameters
Type Name Description
IExportConfiguration configuration

Configuration used for exporting the document.

Returns
Type Description
Task<byte[]>

A task that represents an asynchronous operation of exporting document, which wraps the byte array containing the contents of the document.