PdfViewOptions

PdfViewOptions(CreateFileStream)

Initializes an instance of PdfViewOptions class.

public PdfViewOptions(CreateFileStream createFileStream)
Parameter Type Description
createFileStream CreateFileStream The method that instantiates stream used to write output file data.

Exceptions

exception condition
ArgumentNullException Thrown when createFileStream is null.

Remarks

For the code example, see the documentation.

See Also


PdfViewOptions(CreateFileStream, ReleaseFileStream)

Initializes an instance of PdfViewOptions class.

public PdfViewOptions(CreateFileStream createFileStream, ReleaseFileStream releaseFileStream)
Parameter Type Description
createFileStream CreateFileStream The method that instantiates stream used to write output file data.
releaseFileStream ReleaseFileStream The method that releases stream created by method assigned to delegate that passed to createFileStream parameter.

Exceptions

exception condition
ArgumentNullException Thrown when createFileStream is null.
ArgumentNullException Thrown when releaseFileStream is null.

Remarks

For the code example, see the documentation.

See Also


PdfViewOptions(IFileStreamFactory)

Initializes an instance of PdfViewOptions class.

public PdfViewOptions(IFileStreamFactory fileStreamFactory)
Parameter Type Description
fileStreamFactory IFileStreamFactory The factory which implements methods for creating and releasing output file stream.

Exceptions

exception condition
ArgumentNullException Thrown when fileStreamFactory is null.

Remarks

For the code example, see the documentation.

See Also


PdfViewOptions()

Initializes an instance of PdfViewOptions class.

public PdfViewOptions()

Remarks

This constructor Initializes an instance of PdfViewOptions with “output.pdf” as file path format for the output file. The output file will be placed into current working directory of the application.

For the code example, see the documentation.

See Also


PdfViewOptions(string)

Initializes an instance of PdfViewOptions class.

public PdfViewOptions(string outputFilePath)
Parameter Type Description
outputFilePath String The path for output PDF file.

Exceptions

exception condition
ArgumentException Thrown when outputFilePath is null or empty.

Remarks

For the code example, see the documentation.

See Also