Table of Contents

Class TextItem

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

Gauge text item definition (content, size, condition, rotation, background, font and position).

public class TextItem : DomItem, IDomItemWithOutputFormatter
Inheritance
TextItem
Implements
Inherited Members

Constructors

TextItem(CollectionTextItems)

Creates and appends a text item.

public TextItem(CollectionTextItems textRegionCollection)

Parameters

textRegionCollection CollectionTextItems

TextItem(CollectionTextItems, int)

Creates and inserts a text item at the given index.

public TextItem(CollectionTextItems textRegionCollection, int index)

Parameters

textRegionCollection CollectionTextItems
index int

Properties

Background

Gets the background styling.

[JsonInclude]
public PropertyTextItemBackground Background { get; }

Property Value

PropertyTextItemBackground

Condition

Gets or sets the condition expression.

public string Condition { get; set; }

Property Value

string

Contents

Gets or sets the text contents expression.

public string Contents { get; set; }

Property Value

string

Font

Gets the font settings.

[JsonInclude]
public PropertyFontExt Font { get; }

Property Value

PropertyFontExt

OutputFormatter

Gets the output formatter.

[JsonInclude]
public PropertyOutputFormatterBase OutputFormatter { get; }

Property Value

PropertyOutputFormatterBase

Position

Gets the position definition.

[JsonInclude]
public PropertyPosition Position { get; }

Property Value

PropertyPosition

Rotation

Gets or sets the rotation expression.

public string Rotation { get; set; }

Property Value

string

Size

Gets or sets the size expression.

public string Size { get; set; }

Property Value

string

Methods

Initialize(CollectionTextItems, int)

protected void Initialize(CollectionTextItems textRegionCollection, int index)

Parameters

textRegionCollection CollectionTextItems
index int