Reference > Methods > SetNewline Method

SharpPlot.SetNewline Method

Set an additional line-break character.

public void SetNewline(
    char value
);

This may be convenient when calling SharpPlot from scripting languages that don’t support the handy C# convention of treating \n as a newline character.

Example

sp.SetNewline(';');
sp.Heading = "Here is my;two-line Heading");

The ‘hardwired’ newlines \n and \r will continue to split the line in addition to the character you give here.

See also ...

SharpPlot Members | Heading Property


Send comments on this topic
© Dyalog Ltd 2013