PrizmDoc Server .NET SDK

Show / Hide Table of Contents

Namespace Accusoft.PrizmDocServer.Conversion

Classes

ConversionResult

Represents a conversion result, either a successful result which can be downloaded as a file or an error result if a page or set of pages could not be converted.

ConversionSourceDocument

Defines a document or pages of a document which should be used as input for a conversion.

Typically, you create a source document from a local file path, like this:

var sourceDocument = new ConversionSourceDocument("my-local-file.docx");

You can optionally specify a specific set of pages to use:

var sourceDocument = new ConversionSourceDocument("my-local-file.docx", pages: "2, 5-9, 14-");

And, if the document is password-protected, you can optionally specify the password required to open it:

var sourceDocument = new ConversionSourceDocument("secret.docx", password: "opensesame");

Finally, you can create a source document from an already-existing remote work file, like so:

var result = await prizmDocServer.ConvertToPdfAsync("my-local-file.docx");
var sourceDocument = new ConversionSourceDocument(result.RemoteWorkFile);

In this way, you can use the results of one operation as input to a subsequent operation without needing to download the intermediate results.

DestinationOptions

Conversion output options.

DpiOptions

DPI options.

HeaderFooterLine

Defines a line of text for a header or footer. The line may contain text placed on the left, placed in the center, and/or placed on the right.

HeaderFooterOptions

Defines header or footer content to be applied.

JpegDestinationOptions

JPEG-specific conversion output options.

OcrOptions

OCR-specific conversion options.

PdfDestinationOptions

PDF-specific conversion output options.

PngDestinationOptions

PNG-specific conversion output options.

TiffDestinationOptions

TIFF-specific conversion output options.

Enums

DestinationFileFormat

Output file format to use when performing a document conversion.

Back to top © 2019-2020 Accusoft Corporation. All Rights Reserved.