ViewerGetViewInfo Method (ViewInfoOptions, CancellationToken)
Returns information about view and document specific information.

Namespace: GroupDocs.Viewer
Assembly: GroupDocs.Viewer (in GroupDocs.Viewer.dll) Version: 22.5
Syntax
public ViewInfo GetViewInfo(
	ViewInfoOptions options,
	CancellationToken cancellationToken
)

Parameters

options
Type: GroupDocs.Viewer.OptionsViewInfoOptions
The view info options.
cancellationToken
Type: System.ThreadingCancellationToken
Cancellation token.

Return Value

Type: ViewInfo
Information about view and document specific information.
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown when options is null.
PasswordRequiredExceptionThrown when password is required to open the document.
IncorrectPasswordExceptionThrown when password that was specified is incorrect.
Remarks
Learn more
See Also