Reference > Properties > SoftHyphen Property

SharpPlot.SoftHyphen Property

Set Softhyphen for wrapped notes and other text.

public char SoftHyphen {get; set;}

Example

sp.SoftHyphen = '@';

By default, SharpPlot uses the tilde character ‘~’ as an optional word-break point in wrapped text, so that a word such as ‘Con~trib~ution’ could appear as:

Con-
tribution

or as

Contrib-
ution

or as

Contribution

... depending on the available width. If you require the ‘~’ character as normal text, you could do your own wrapping, or you could switch to a different soft hyphen.

See also ...

SharpPlot Members


Send comments on this topic
© Dyalog Ltd 2013