Layer Constructor (String, Boolean) |
Initializes new instance of
Layer class.
Namespace: GroupDocs.Viewer.ResultsAssembly: GroupDocs.Viewer (in GroupDocs.Viewer.dll) Version: 22.5
Syntaxpublic Layer(
string name,
bool visible
)
Public Sub New (
name As String,
visible As Boolean
)
public:
Layer(
String^ name,
bool visible
)
new :
name : string *
visible : bool -> Layer
Parameters
- name
- Type: SystemString
The name of the layer. - visible
- Type: SystemBoolean
The layer visibility indicator.
ExceptionsException | Condition |
---|
ArgumentException | Thrown when name is null or empty. |
See Also