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:
@@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user