PngViewOptions

PngViewOptions(CreatePageStream)

Initializes an instance of the PngViewOptions class.

public PngViewOptions(CreatePageStream createPageStream)
Parameter Type Description
createPageStream CreatePageStream The method that instantiates a stream used to write output page data.

Exceptions

exception condition
ArgumentNullException Thrown when createPageStream is null.

Remarks

For the code example, see the documentation.

See Also


PngViewOptions(CreatePageStream, ReleasePageStream)

Initializes an instance of the PngViewOptions class.

public PngViewOptions(CreatePageStream createPageStream, ReleasePageStream releasePageStream)
Parameter Type Description
createPageStream CreatePageStream The method that instantiates a stream used to write output page data.
releasePageStream ReleasePageStream The method that releases a stream created by method assigned to delegate that passed to createPageStream parameter.

Exceptions

exception condition
ArgumentNullException Thrown when createPageStream is null.
ArgumentNullException Thrown when releasePageStream is null.

Remarks

For the code example, see the documentation.

See Also


PngViewOptions(IPageStreamFactory)

Initializes an instance of the PngViewOptions class.

public PngViewOptions(IPageStreamFactory pageStreamFactory)
Parameter Type Description
pageStreamFactory IPageStreamFactory The factory which implements methods for creating and releasing output page stream.

Exceptions

exception condition
ArgumentNullException Thrown when pageStreamFactory is null.

Remarks

For the code example, see the documentation.

See Also


PngViewOptions()

Initializes an instance of the PngViewOptions class.

public PngViewOptions()

Remarks

This constructor initializes an instance of the PngViewOptions with “p_{0}.png” as file path format for the output files. The output files are placed into current working directory of the application.

For the code example, see the documentation.

See Also


PngViewOptions(string)

Initializes an instance of the PngViewOptions class.

public PngViewOptions(string filePathFormat)
Parameter Type Description
filePathFormat String The file path format e.g. ‘page_{0}.png’.

Exceptions

exception condition
ArgumentException Thrown when filePathFormat is null or empty.

Remarks

For the code example, see the documentation.

See Also