Table of Contents

Constructor SchematicText

Namespace
ReportWright.Design
Assembly
ReportWright.Design.dll

SchematicText(int, int, int, int, string, bool, SchematicAlign, int, bool, bool, string?, string?)

Initializes the text.

public SchematicText(int left, int top, int width, int height, string text, bool isExpression, SchematicAlign align = SchematicAlign.Left, int fontSizeTwips = 200, bool bold = false, bool italic = false, string? color = null, string? fontFamily = null)

Parameters

left int

Left of the box.

top int

Top of the box.

width int

Width of the box.

height int

Height of the box.

text string

The text.

isExpression bool

Whether it stands for an expression.

align SchematicAlign

The horizontal alignment.

fontSizeTwips int

The font size in twips (10 pt is 200).

bold bool

Whether bold.

italic bool

Whether italic.

color string

A CSS colour or null for the default.

fontFamily string

The font family or null for the default.