SharpLeaf Reference > TextBlock : PageElement Class

TextBlock : PageElement Class

Arbitrary text to add to a page layout, with optional parameters substitution. Text can optionally be wrapped, and angled if the two points are different, in which case it is drawn along the given line.

public class TextBlock : PageElement


TextBlock Instance Properties

AlignmentHorizontal positioning of text along target line (default is Left)
CaptionText to draw
FontFont properties for text (name, size, pitch, style, color)
VerticalAlignmentVertical positioning of text against target line (default is Baseline)
WrapEnable text wrapping around baseline (default is true)

TextBlock Methods

CloneTake a deep copy of a TextBlock instance
GetCoordinatesGet the coordinates of the rule
RenderXmlXML description of the TextBlock
SetCoordinatesSet the coordinates of the text baseline
ToStringReadable summary of TextBlock detail


Namespace: Causeway

Assembly: SharpPlot (in sharpplot.dll)

Send comments on this topic
© Dyalog Ltd 2016