Layer Constructor (String, Boolean)
Initializes new instance of Layer class.

Namespace: GroupDocs.Viewer.Results
Assembly: GroupDocs.Viewer (in GroupDocs.Viewer.dll) Version: 21.7
Syntax
public Layer(
	string name,
	bool visible
)

Parameters

name
Type: SystemString
The name of the layer.
visible
Type: SystemBoolean
The layer visibility indicator.
Exceptions
ExceptionCondition
ArgumentExceptionThrown when name is null or empty.
See Also