PdfViewOptions

PdfViewOptions(CreateFileStream)

Initializes new 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.

See Also


PdfViewOptions(CreateFileStream, ReleaseFileStream)

Initializes new 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.

See Also


PdfViewOptions(IFileStreamFactory)

Initializes new 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.

See Also


PdfViewOptions()

Initializes new instance of PdfViewOptions class.

public PdfViewOptions()

Remarks

This constructor initializes new 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.

See Also


PdfViewOptions(string)

Initializes new 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.

See Also