formatted text in draft

formatted text in draft

breinkemeyer
Enthusiast Enthusiast
470 Views
2 Replies
Message 1 of 3

formatted text in draft

breinkemeyer
Enthusiast
Enthusiast

I'm trying to build a string in C# for a hole callout(see attachment).  is there a way to access the insert symbol from the api, or, have a string combination to represent them?

0 Likes
Accepted solutions (1)
471 Views
2 Replies
Replies (2)
Message 2 of 3

theo.bot
Collaborator
Collaborator
Accepted solution

In these cases I reverse engineer this, so first create the note manualy, then take the formatted text as result. Now you know how to build you own formatted string:

Sorry i use ilogic rules, no C#

 

oDoc.ActiveSheet.DrawingNotes.GeneralNotes.Item(1).FormattedText

result:

"Ø 5/8 THRU <Br/><StyleOverride Font='AIGDT'>v</StyleOverride> Ø 7/8 <StyleOverride Font='AIGDT'>x</StyleOverride> 7/16"

 Hope this helps to build your strings

0 Likes
Message 3 of 3

breinkemeyer
Enthusiast
Enthusiast

Great idea, thanks!  I keep a little side project for things just like this.  

0 Likes