SharpPlot Reference > SharpPlot Properties > SoftHyphen Property

SharpPlot.SoftHyphen Property

Set soft hyphen character for optional word-break point in wrapped text. By default, SharpPlot uses the standard soft hyphen character ‘­’ (0xAD).

public char SoftHyphen {get; set;}

Example

sp.SoftHyphen = '~';

Setting the above will allow a word such as “Con~trib~ution” to appear as:

Con-
tribution

or as

Contrib-
ution

or as

Contribution

... depending on the available width.

See also ...

SharpPlot Members


Send comments on this topic
© Dyalog Ltd 2016