PngViewOptions Constructor (CreatePageStream, ReleasePageStream)
Initializes new instance of PngViewOptions class.

Namespace: GroupDocs.Viewer.Options
Assembly: GroupDocs.Viewer (in GroupDocs.Viewer.dll) Version: 20.6.1
Syntax
public PngViewOptions(
	CreatePageStream createPageStream,
	ReleasePageStream releasePageStream
)

Parameters

createPageStream
Type: GroupDocs.Viewer.InterfacesCreatePageStream
The method that instantiates stream used to write output page data.
releasePageStream
Type: GroupDocs.Viewer.InterfacesReleasePageStream
The method that releases stream created by method assigned to delegate that passed to createPageStream parameter.
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown when createPageStream is null.
ArgumentNullExceptionThrown when releasePageStream is null.
See Also