Resource Base
Table of contents

This documentation is deprecated. It applies only to legacy version 2.x of Capture Vision and must not be used for new development.

Please refer to the latest documentation and Migration Guide, which supersede this content.

DrawingLayer

The DrawingLayer class is the container of the DrawingItems.

Definition

Namespace: Dynamsoft.CameraEnhancer.Maui

Assembly: Dynamsoft.CameraEnhancer.Maui

class DrawingLayer

Methods & Properties

Method Description
ClearDrawingItems Clear all the DrawingItems on the layer.
SetDefaultStyle Set the default style of the layer with a style id.
Property Type Description
Id int The ID of the layer.
DrawingItems *IList* A list contains all the DrawingItems on the layer.
Visible bool** A bool value determines whether the layer is visible.

ClearDrawingItems

Clear all the DrawingItems on the layer.

void ClearDrawingItems();

SetDefaultStyle

Set the default style of the layer with a style id. View all available IDs via EnumDrawingStyleId.

void SetDefaultStyle(int styleId);

Id

The ID of the layer.

int Id { get; }

DrawingItems

A list contains all the DrawingItems on the layer.

IList<DrawingItem> DrawingItems { get; set; }

Visible

A bool value determines whether the layer is visible.

bool Visible { get; set; }

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article: