Web Demos

BARCODE READER SDK DEMO

Explore the flexibe barcode reading settings to optimize for your specific usage scenario.

WEB TWAIN SDK DEMO

Try the most popular web scanner features: scan images, import local images and PDF files, edit, save to local, upload to database, and etc.

BARCODE READER JAVASCRIPT DEMO

Transform any camera-equipped devices into real-time, browser-based barcode and QR code scanners.

MRZ SCANNER WEB DEMO

Detects the machine-readable zone of a passport, scans the text, and parses into human-readable data.

APP STORE DEMOS

BARCODE READER SDK FOR IOS

BARCODE READER SDK FOR ANDROID

VIEW MORE DEMOS >
Resource Base
Table of contents

Class DCVCameraView

DCVCameraView is used to provide a UI for the camera display and any related UI elements. DCVCameraView extends the View class which is where the HorizontalOptions and VerticalOptions come from.

class DCVCameraView
Property Description
OverlayVisible A property that indicates whether the overlays are visible.
TorchButton A property that determines whether a torch button will be displayed on the DCVCameraView and how the torch button will be displayed.

OverlayVisible

A property that indicates whether the overlays are visible.

bool OverlayVisible;

Code Snippet

<local:DCVCameraView
    OverlayVisible="True"
    HorizontalOptions="FillAndExpand"
    VerticalOptions="FillAndExpand" >

TorchButton

A property that determines whether a torch button will be displayed on the DCVCameraView and how the torch button will be displayed.

TorchButton Torchbutton;

Code Snippet

<local:DCVCameraView
    OverlayVisible="True"
    HorizontalOptions="FillAndExpand"
    VerticalOptions="FillAndExpand" >
    <local:DCVCameraView.TorchButton>
        <local:TorchButton
            TorchOnImage="abc.png"
            TorchOffImage="abc.png"
            Visible="True">
            <local:TorchButton.Location>
                <local:Rect Width="50" Height="50" X="300" Y="300"></local:Rect>
            </local:TorchButton.Location>
        </local:TorchButton>
    </local:DCVCameraView.TorchButton>
</local:DCVCameraView>

Note: Learn how to add an image in Xamarin.iOS and add an image in Xamarin.Android

This page is compatible for:

Version 1.0

Is this page helpful?

YesYes NoNo

In this article:

latest version

    • Latest version
    Change +
    © 2003–2023 Dynamsoft. All rights reserved.
    Privacy Statement / Site Map / Home / Purchase / Support