LuciadCPillar C# 2023.1.04
Luciad.Text.TextBlock.Builder Class Reference

A factory class that creates a TextBlock containing multiple lines of text with multiple styles. More...

Inheritance diagram for Luciad.Text.TextBlock.Builder:

Public Member Functions

Luciad.Text.TextBlock Build ()
 Returns the current text. More...
 
void Dispose ()
 
Luciad.Text.TextBlock.LineBuilder NewLine (Luciad.Drawing.HorizontalAlignment alignment=Luciad.Drawing.HorizontalAlignment.Left, double verticalSpacing=0.0)
 Add a new line to the current set of lines. More...
 

Detailed Description

A factory class that creates a TextBlock containing multiple lines of text with multiple styles.

2021.0

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::TextBlock::Builder.

Member Function Documentation

◆ Build()

Luciad.Text.TextBlock Luciad.Text.TextBlock.Builder.Build ( )
inline

Returns the current text.

the current text.

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::TextBlock::Builder::build.

◆ Dispose()

void Luciad.Text.TextBlock.Builder.Dispose ( )
inline

◆ NewLine()

Luciad.Text.TextBlock.LineBuilder Luciad.Text.TextBlock.Builder.NewLine ( Luciad.Drawing.HorizontalAlignment  alignment = Luciad.Drawing.HorizontalAlignment.Left,
double  verticalSpacing = 0.0 
)
inline

Add a new line to the current set of lines.

Each line can have multiple strings with different styling options. See TextBlock::LineBuilder.

alignment

position of the text relative to the whole block of the text. By default the text is positioned at the left.

verticalSpacing

extra space between this line and the next line in pixels.

the new line on which you can add text.

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::TextBlock::Builder::newLine.