ViewInfoOptionsFromPngViewOptions Method
Initializes new instance of ViewInfoOptions class based on PngViewOptions object.

Namespace: GroupDocs.Viewer.Options
Assembly: GroupDocs.Viewer (in GroupDocs.Viewer.dll) Version: 21.9
Syntax
public static ViewInfoOptions FromPngViewOptions(
	PngViewOptions options
)

Parameters

options
Type: GroupDocs.Viewer.OptionsPngViewOptions
The PNG view options.

Return Value

Type: ViewInfoOptions
New instance of ViewInfoOptions class.
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown when options is null.
See Also