Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Drawing view name font size 5 and scale font size 3.5

Status
Not open for further replies.

Balaji R

Automotive
Joined
Jul 27, 2022
Messages
5
Location
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
 
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
plz attache picture as image so we can see them without 5 clicks !

Eric N.
indocti discant et ament meminisse periti
 
like this:
2022-07-27_18-11-14_zfatry.png


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

Part and Inventory Search

Sponsor

Back
Top