Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic The Text of ShapeNode in Chinese (Read 2023 times)
dumingxin
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 5
Joined: Aug 4th, 2012
The Text of ShapeNode in Chinese
Aug 4th, 2012 at 4:48pm
Print Post  
if the text of node is chinese,the view will have problems
my code :
DiagramView1.Diagram.DefaultShape = Shapes.Rectangle;
ShapeNode n = DiagramView1.Diagram.Factory.CreateShapeNode(12, 12, 45, 22);
n.Text = "测试";

the text will be wrong

how can I resolve this problem?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: The Text of ShapeNode in Chinese
Reply #1 - Aug 4th, 2012 at 5:23pm
Print Post  
Hi,

Set the node's Font to Unicode-enabled one such as "Arial Unicode MS":
http://mindfusion.eu/Forum/YaBB.pl?num=1321527941

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
dumingxin
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 5
Joined: Aug 4th, 2012
Re: The Text of ShapeNode in Chinese
Reply #2 - Aug 4th, 2012 at 5:31pm
Print Post  
Thank you very much!
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint