Table of Contents

Constructor ReportShapeLabel

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

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

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

public ReportShapeLabel(string text, Twips left, Twips baseline, Twips width, ReportShapeLabelAlignment alignment, string fontFamily, Twips fontSize, bool bold, bool italic, ColorRgb color)

Parameters

text string

The text.

left Twips

The anchor's horizontal position, which alignment interprets.

baseline Twips

The baseline, relative to the owning item's top edge.

width Twips

The text's measured width.

alignment ReportShapeLabelAlignment

How the text sits against its anchor.

fontFamily string

The font family.

fontSize Twips

The font size.

bold bool

Whether the text is bold.

italic bool

Whether the text is italic.

color ColorRgb

The text's colour.

Exceptions

ArgumentNullException

text or fontFamily is null.