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

TextBlock Constructor (String,FontType,Double,Double,Double,Double)

Draw left-aligned wrapped text along target line.

public TextBlock(
    string caption,
    FontType font,
    double xfrom,
    double yfrom,
    double xto,
    double yto
);
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).
xto
End of line to draw text along (in points – positive from top/left of paper, negative from bottom/right).
yto
End 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