Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I can't find a way to set a schedule title text to bold and underline via API. Is this possible?
Solved! Go to Solution.
I can't find a way to set a schedule title text to bold and underline via API. Is this possible?
Solved! Go to Solution.
You need to get the viewscheduleTemplate, then set the HeaderTextTypeId, an already prepared / or created by code TextType
see this Example:
var sch = UiDoc.ActiveGraphicalView as ViewSchedule;
var schViewTemplate = Doc.GetElement( sch.ViewTemplateId) as ViewSchedule;
schViewTemplate.TitleTextTypeId = // the text type that has all the style you already prepared
Thanks Moustafa you are a boss