Group: Forum Members
Last Active: 14 Years Ago
Posts: 8,
Visits: 1
|
Solved using courrier new font arial give unexpected results
|
Group: Forum Members
Last Active: 14 Years Ago
Posts: 8,
Visits: 1
|
It's what I have done nDrawingDocument1.ActiveLayer.AddChild(mappingShape); NStyle.SetTextStyle(mappingShape, new NTextStyle(fontStyle, Color.Black)); mappingShape.Style.TextStyle.StringFormatStyle.HorzAlign = Nevron.HorzAlign.Left; mappingShape.SizeToContent();
But the text is still on 2 lines
|
Group: Forum Members
Last Active: Last Week
Posts: 3,054,
Visits: 4,009
|
Erm shapes automatically resize themselves to their content, but in order for the autosize to work you must add them to a drawing document first.
Best Regards, Nevron Support Team
|
Group: Forum Members
Last Active: 14 Years Ago
Posts: 8,
Visits: 1
|
If I use a NErmShape and call mappingShape.SizeToContent(); The result is like the attachment? Is there any solution to really fit first line?
|