SharpLeaf Reference > TextBlock : PageElement Class > TextBlock Constructor > (String,FontType,Double,Double)

TextBlock Constructor (String,FontType,Double,Double)

Draw left-aligned, flat, unwrapped text at target point.

public TextBlock(
    string caption,
    FontType font,
    double xfrom,
    double yfrom
);
caption
Text to be displayed.
font
Font to use.
xfrom
Start of line to draw text along (in points – positive from top/left of paper, negative from bottom/right).
yfrom
Start of line to draw text along (in points – positive from top/left of paper, negative from bottom/right).

See also ...

TextBlock.Members | TextBlock.TextBlock Constructor


Send comments on this topic
© Dyalog Ltd 2021