JpgViewOptions

JpgViewOptions(CreatePageStream)

Initializes an instance of the JpgViewOptions class.

public JpgViewOptions(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


JpgViewOptions(CreatePageStream, ReleasePageStream)

Initializes an instance of the JpgViewOptions class.

public JpgViewOptions(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


JpgViewOptions(IPageStreamFactory)

Initializes an instance of the JpgViewOptions class.

public JpgViewOptions(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


JpgViewOptions()

Initializes an instance of the JpgViewOptions class.

public JpgViewOptions()

Remarks

This constructor initializes an instance of the JpgViewOptions with “p_{0}.jpg” 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


JpgViewOptions(string)

Initializes an instance of the JpgViewOptions class.

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

Exceptions

exception condition
ArgumentException Thrown when filePathFormat is null or empty.

Remarks

For the code example, see the documentation.

See Also