Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

Drawing view name font size 5 and scale font size 3.5

Status
Not open for further replies.

Balaji R

Automotive
Jul 27, 2022
5
0
0
IN
Hi,
Is it possible to change font size for view name as 5 and scale as 3 5.
Both are in same text
I can able to change the font size fully.
Can any one please help me on this
 
Replies continue below

Recommended for you

within the text, select the subtext you want to change font.

if you change the font at the text level then all text is affected.

Eric N.
indocti discant et ament meminisse periti
 
Hi,

Can you please explain in detail. How can I select the text in sublevel?
I also attached image of the text size to be changed
I have written code like this.

Dim DSheet1 As DrawingSheet
Set DSheet1 = DrawingDocument1.Sheets.ActiveSheet

Dim DrawingView1 As DrawingView
Set DrawingView1 = DSheet1.Views.ActiveView

Dim DrawingText1 As DrawingText
Set DrawingText1 = DrawingView2.Texts.Item(1)

Call DrawingText1.SetFontSize(0, 0, 5)

Thanks
 
 https://files.engineering.com/getfile.aspx?folder=7a022dd2-4687-4547-9c9f-7462e8d234c1&file=Screenshot_2022-07-27_194356.png
like this:
2022-07-27_18-11-14_zfatry.png


Eric N.
indocti discant et ament meminisse periti
 
Status
Not open for further replies.
Back
Top