DgnFile.GetTextStyles() returns a collection of text styles. How can I add new styles to that list and then assign the list to the active DGN file? There's no method like DgnFile.SetTextStyles(TextStyleCollection styles) that I can see.
DgnFile.GetTextStyles()
DgnFile.SetTextStyles(TextStyleCollection styles)
Hi Jon,
I guess (based on documentation), C++ and NET APIs are the same: DgnTextStyle.Add(DgnFile).
With regards,
Jan
Bentley Accredited Developer: iTwin Platform - AssociateLabyrinth Technology | dev.notes() | cad.point
Answer Verified By: Jon Summers