Table of Contents

Class Layer

Namespace
combit.Reporting.Dom
Assembly
combit.ListLabel31.CrossPlatform.dll

Represents a layer in a List & Label project. Layers allow for the separation of content, such as base, first page, and following pages, and can be conditionally shown, colored, and identified by unique IDs.

public class Layer : DomItemWithTemplateId
Inheritance
Layer
Inherited Members

Constructors

Layer(CollectionLayers)

Initializes a new instance of the Layer class and adds it to the specified CollectionLayers.

public Layer(CollectionLayers layerCollection)

Parameters

layerCollection CollectionLayers

The collection of layers to add to.

Layer(CollectionLayers, int)

Initializes a new instance of the Layer class and inserts it at the specified index in the CollectionLayers.

public Layer(CollectionLayers layerCollection, int index)

Parameters

layerCollection CollectionLayers

The collection of layers to add to.

index int

The index at which to insert the layer.

Properties

Color

Gets or sets the color of the layer as a string representation.

public string Color { get; set; }

Property Value

string

Condition

Gets or sets the condition that determines when the layer is active.

public string Condition { get; set; }

Property Value

string

FromTemplate

Gets or sets a value indicating whether the layer is from a template.

public string FromTemplate { get; }

Property Value

string

LayerId

Gets or sets the unique identifier for the layer. The setter is only available in ghost mode.

public string LayerId { get; set; }

Property Value

string

Name

Gets or sets the name of the layer.

public string Name { get; set; }

Property Value

string

Visible

Gets or sets a value indicating whether the layer is visible.

public string Visible { get; set; }

Property Value

string

Methods

Initialize(CollectionLayers, int)

Initializes the layer within the specified CollectionLayers at the given index.

protected void Initialize(CollectionLayers layerCollection, int index)

Parameters

layerCollection CollectionLayers

The collection of layers to initialize in.

index int

The index at which to insert the layer.