I've been trying to add some text to my SvgDocument but the text doesn't appear and when I look at the file in a text editor the element hasn't actually been added.
I've created the text element like so:
SvgText title = new SvgText("Title Goes Here");
I've then set the x and y co-ordinates, font and font size like so:
var unitCol = new SvgUnitCollection();
var unitCol2 = new SvgUnitCollection();
title.X = unitCol;
title.Y = unitCol2;
title.FontSize = 8;
title.Font = "Arial";
Then I've added the text element to my document like so:
All of the other elements appear but not the text, can anyone tell me what I'm doing wrong?