i want to get all text font , text height and text widths on the drawing
Dim ListFont As New List(Of String)
For Each TextStyle As AcadTextStyle In ThisDrawing.TextStyles
ListFont.Add(TextStyle.fontFile)
Next
i used those code can get all text font on the drawing...but i only want to get text font which were used.
and i dont know how to get the text height and widths on the drawing.
Hi,
As the width and height can be overriden from the style, you need to open for read each text (DbText) to get its properties.
Gaston Nunez
sorry..i have used autocad.net for 2 weeks
i dont know what should i do after
dim actext as dbtext
i found it in the autocad.net develop guide
it only has a example how to create a new textstyle
would u mind explain more to me thx