.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How can I adjust the textstyle of text object?

0 REPLIES 0
Reply
Message 1 of 1
tommy.yang
207 Views, 0 Replies

How can I adjust the textstyle of text object?

I want to draw a text string in my dwg file, but the style of text always remains left alignment, how can I adjust it ?
DBText text = new DBText();
text.TextString = label;
text.Rotation = angle;
text.Position = insPt;
text.Color = Autodesk.AutoCAD.Colors.Color.FromColor(System.Drawing.Color.Plum);
text.Height = DwgUtil.Property.LabelHeight;

This may be a simple question, but I can find the correct way from object browser, please help me, thank you in advance.
0 REPLIES 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost