CADText it does not show the correct text
Posted: 23 Jan 2019, 19:55
Hello I have a problem with a CADText, when entering it inside the image it does not show a recognized text, it shows a set of symbols instead of the text, someone can help me know what it can be.
CODE :
OUTPUT :
CODE :
Code: Select all
CADText text = new CADText();
text.Point = point;
text.Height = 5.0;
text.Rotation = 0.0f;
text.Text = "IP Recording";
text.LineWeight = 0.1;
text.Layer = editor.Image.Converter.LayerByName(IP_RECORDING_LAYER) as CADLayer;
editor.Image.Converter.Loads(text);
editor.Image.CurrentLayout.Entities.Add(text);
editor.Invalidate();