Handle rtf token "\bullet" within Grid.

Handle the various formats used for analog alarm points (High# and Low#) so that the ROs will be correctly replaced on the cover page.  The various formats include either a space or a dash or a underscore followed by High, HI, Low or LO followed by a number.  The code will treat all of the formats consistently.
This commit is contained in:
Rich
2015-03-11 12:38:18 +00:00
parent a533c8fc71
commit 95874bd501
2 changed files with 4 additions and 2 deletions

View File

@@ -60,7 +60,7 @@ namespace Volian.Controls.Library
string[] lines = txt.Split(breaks, StringSplitOptions.None);
//string lastLine = lines[lines.Length - 1];
foreach (string line in lines)
Add(new RtfLine(line));
Add(new RtfLine(line.Replace("\\bullet","*")));
}
public int MaximumWidth
{