Profile Picture

XLM Text Format

Posted By Volvick Derose 13 Years Ago
Author
Message
Volvick Derose
Posted 13 Years Ago
View Quick Profile
Forum Guru

Forum Guru (71 reputation)Forum Guru (71 reputation)Forum Guru (71 reputation)Forum Guru (71 reputation)Forum Guru (71 reputation)Forum Guru (71 reputation)Forum Guru (71 reputation)Forum Guru (71 reputation)Forum Guru (71 reputation)

Group: Forum Members
Last Active: 12 Years Ago
Posts: 71, Visits: 1
I keep getting an error when I try to set the text of a shape to xml format

NRectangleShape myRectangle = new NRectangle(100, 100, 200, 100);
myRectangle.Text = "htmltext";
NTextStyle textShapeStyle = new NTextStyle();
myRectangle.Style.TextStyle.TextFormat = TextFormat.XML;//keep getting an error here
myRectangle.Style.TextStyle = textShapeStyle;

I don't want to apply xml format to the whole document, only to that shape




Similar Topics


Reading This Topic