Skip to content

PdfUAFormatter.Save Method

Overloads

Name Description
Save(PdfFixedDocument,String,PdfUAFormat) Saves the document to the file in the specified PDF/UA format.
Save(PdfFixedDocument,String,PdfUAFormat,Boolean) Saves the document to the file in the specified PDF/UA format.
Save(PdfFixedDocument,Stream,PdfUAFormat) Saves the document to the stream in the specified PDF/A format.
Save(PdfFixedDocument,Stream,PdfUAFormat,Boolean) Saves the document to the stream in the specified PDF/A format.

Save(PdfFixedDocument,String,PdfUAFormat)

Saves the document to the file in the specified PDF/UA format.

C#
public static void Save(PdfFixedDocument document, string fileName, PdfUAFormat format)

Parameters

document PdfFixedDocument

The document to save.

fileName String

Destination file where the document is saved.

format PdfUAFormat

PDF/UA format for the saved document.

Save(PdfFixedDocument,String,PdfUAFormat,Boolean)

Saves the document to the file in the specified PDF/UA format.

C#
public static void Save(PdfFixedDocument document, string fileName, PdfUAFormat format, bool enablePdfStructureCompression)

Parameters

document PdfFixedDocument

The document to save.

fileName String

Destination file where the document is saved.

format PdfUAFormat

PDF/UA format for the saved document.

enablePdfStructureCompression Boolean

Enables the compression of PDF file structure

Save(PdfFixedDocument,Stream,PdfUAFormat)

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

C#
public static void Save(PdfFixedDocument document, Stream stream, PdfUAFormat format)

Parameters

document PdfFixedDocument

The document to save.

stream Stream

Destination stream where the document is saved.

format PdfUAFormat

PDF/UA format for the saved document.

Save(PdfFixedDocument,Stream,PdfUAFormat,Boolean)

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

C#
public static void Save(PdfFixedDocument document, Stream stream, PdfUAFormat format, bool enablePdfStructureCompression)

Parameters

document PdfFixedDocument

The document to save.

stream Stream

Destination stream where the document is saved.

format PdfUAFormat

PDF/UA format for the saved document.

enablePdfStructureCompression Boolean

Enables the compression of PDF file structure