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
leftintLeft of the box.
topintTop of the box.
widthintWidth of the box.
heightintHeight of the box.
textstringThe text.
isExpressionboolWhether it stands for an expression.
alignSchematicAlignThe horizontal alignment.
fontSizeTwipsintThe font size in twips (10 pt is 200).
boldboolWhether bold.
italicboolWhether italic.
colorstringA CSS colour or null for the default.
fontFamilystringThe font family or null for the default.