CameraView
The CameraView
class is used to display the camera preview and provides UI controlling APIs. Users can add interactable UI elements on the view.
Definition
Namespace: Dynamsoft.CameraEnhancer.Maui
Assembly: Dynamsoft.CameraEnhancer.Maui
class CameraView : View
Methods & Properties
Method | Description |
---|---|
CameraView |
The constructor. |
GetDrawingLayer |
Get the specified DrawingLayer . |
Property | Type | Description |
---|---|---|
TorchButton |
TorchButton | The property that defines a torch button. User can click the button to turn on/off the torch. |
TorchButtonVisible |
bool | The property that defines whether the torch button is visible. |
ScanRegionMaskVisible |
bool | The property that defines whether the scan region mask is visible. |
ScanLaserVisible |
bool | The property that defines whether the scan laser is visible. |
CameraView
The constructor. Create an instance of CameraView
.
CameraView();
GetDrawingLayer
Get the specified DrawingLayer
.
DrawingLayer GetDrawingLayer(EnumDrawingLayerId id);
Parameters
[in] id
: One of the EnumDrawingLayerId
member that specifies the ID of the layer that you want to get.
Return Value
The DrawingLayer
instance.
TorchButton
The property that defines a torch button. User can click the button to turn on/off the torch. View TorchButton
class for how more information about how to configure the torch button.
TorchButton TorchButton { get; set; }
TorchButtonVisible
The property that defines whether the torch button is visible.
bool TorchButtonVisible { get; set; }
ScanRegionMaskVisible
The property that defines whether the scan region mask is visible.
bool ScanRegionMaskVisible { get; set; }
ScanLaserVisible
The property that defines whether the scan laser is visible.
bool ScanLaserVisible { get; set; }