MSTN CE 14 C#

Good Afternoon,

Looking for help to change the text weight of a table's Title region.  I can set the different text style for the Title but not the weight of the text.  In the TextTableHandler.h there is SetDefaultTextWeight   (UInt32 value);, but haven't been able to access it from C#.

Thank you,

Donna Rodrick

Parents
  • I can set the different text style for the Title but not the weight of the text

    Why not define a Text Table Title style and assign that to your table?  That style can define a weight.

    In general it's preferable to use MicroStation mechanisms to control appearance, rather than hard-wire them into your code.  If you define style Text Table Title — it's a one-stop-shop for modifying table titles, and it's available to MicroStation users or administrators.  If the appearance is handled by your code, then MicroStation users won't be able to change it.

     
    Regards, Jon Summers
    LA Solutions

Reply
  • I can set the different text style for the Title but not the weight of the text

    Why not define a Text Table Title style and assign that to your table?  That style can define a weight.

    In general it's preferable to use MicroStation mechanisms to control appearance, rather than hard-wire them into your code.  If you define style Text Table Title — it's a one-stop-shop for modifying table titles, and it's available to MicroStation users or administrators.  If the appearance is handled by your code, then MicroStation users won't be able to change it.

     
    Regards, Jon Summers
    LA Solutions

Children
No Data