Resource Base
Table of contents

DCVCameraView Class

The UI component of Dynamsoft Capture Vision. It displays the video streaming and other UI elements.

Property Description
overlayVisible A property that indicates whether the overlays are visible.
torchButton The property for users to define a torch button.

overlayVisible

A property that indicates whether the overlays are visible.

set overlayVisible(bool isVisible)

Code Snippet

_cameraView.overlayVisible = true;

torchButton

The property for users to define a torch button. Users can define the location, image and visibility of the button.

set torchButton(TorchButton torchButton)

Code Snippet

_cameraView.torchButton = TorchButton(
    rect: Rect(x: 50, y: 50, width: 100, height: 100),
    torchOnImage: 'assets/abc.png',
    torchOffImage: null);

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article:

latest version

    • Latest version
    • Version 2.x
      • Version 2.2.10
      • Version 2.0.21
      • Version 2.0.20
      • Version 2.0.10
      • Version 2.2.10
      • Version 2.0.21
      • Version 2.0.20
      • Version 2.0.10
    • Version 1.x
      • Version 1.2.1
      • Version 1.2.0
      • Version 1.1.0
      • Version 1.0.0
      • Version 1.0.4
      • Version 1.0.3
      • Version 1.0.2
      • Version 1.0.1
      • Version 1.0.0
      • Version 1.1.13
      • Version 1.1.12
      • Version 1.1.11
      • Version 1.1.9
      • Version 1.1.8
      • Version 1.1.7
      • Version 1.1.6
      • Version 1.1.5
      • Version 1.1.4
      • Version 1.1.3
      • Version 1.1.2
      • Version 1.1.1
      • Version 1.1.0
      • Version 1.0.0
      • Version 1.0.4
      • Version 1.0.3
      • Version 1.0.2
      • Version 1.0.1
      • Version 1.0.0
    Change +