Table of Contents

Class ReportShapeLabel

Namespace
DocWright.Reporting.Pagination
Assembly
DocWright.Reporting.dll

A run of text in a chart: a tick label, a category label, a title, a legend entry.

public sealed class ReportShapeLabel : ReportShape
Inheritance
ReportShapeLabel
Inherited Members

Remarks

Left is the anchor named by Alignment, and Baseline is the text's baseline — the same convention the page model's text runs use, so a renderer places a chart label exactly as it places any other text.

Constructors

ReportShapeLabel(string, Twips, Twips, Twips, ReportShapeLabelAlignment, string, Twips, bool, bool, ColorRgb)

Initializes a run of text placed by an anchor and a baseline.

Properties

Alignment

Gets how the text sits against Left.

Baseline

Gets the baseline, relative to the chart's top edge.

Bold

Gets a value indicating whether the text is bold.

Color

Gets the text colour.

FontFamily

Gets the font family.

FontSize

Gets the font size.

Italic

Gets a value indicating whether the text is italic.

Kind

Gets what kind of shape this is.

Left

Gets the anchor's horizontal position, which Alignment interprets.

Text

Gets the text.

Width

Gets the measured width of the text.