Skip to content

PDFAFormatter

Namespace: O2S.Components.PDF4NET.Standards

Defines a formatter that can save PDF files in PDF/A format.

public class PDFAFormatter : PDFStandardFormatter

Inheritance ObjectPDFStandardFormatterPDFAFormatter

Constructors

PDFAFormatter(PDFAFormat)

Initializes a new PDFAFormatter object.

public PDFAFormatter(PDFAFormat format)

Parameters

format PDFAFormat
PDF/A standard for which the formatter is initialized.


Methods

Save(PDFFixedDocument, String, PDFAFormat)

Saves the document to the stream in the specified PDF/A format.

public static void Save(PDFFixedDocument document, string fileName, PDFAFormat format)

Parameters

document PDFFixedDocument
The document to save.

fileName String
Destination file where the document is saved.

format PDFAFormat
PDF/A format for the saved document.


Save(PDFFixedDocument, Stream, PDFAFormat)

Saves the document to the stream in the specified PDF/A format.

public static void Save(PDFFixedDocument document, Stream stream, PDFAFormat format)

Parameters

document PDFFixedDocument
The document to save.

stream Stream
Destination stream where the document is saved.

format PDFAFormat
PDF/A format for the saved document.