SnapshotConfig
- class Communicator.SnapshotConfig()
This class contains configuration properties for creating viewer snapshots.
Constructors
Constructors
- SnapshotConfig.constructor([width[, height[, layers]]])
Creates a new SnapshotConfig object.
- Arguments
width (
number()
) – optionalheight (
number()
) – optionallayers (SnapshotLayer) – optional
- Return type
Properties
- SnapshotConfig.height
- Type
number
Specifies the width of the resulting snapshot image. A value of 0 indicates the canvas width should be used. The default value is 0.
- SnapshotConfig.layers
- Type
Indicates which layers to include in the snapshot. The default value is
SnapshotLayer.All
- SnapshotConfig.width
- Type
number
Specifies the width of the resulting snapshot image. A value of 0 indicates the canvas width should be used. The default value is 0.