Skip to main content
1-Visitor
December 12, 2019
Question

Changing Font size of text in drawing table cells

  • December 12, 2019
  • 2 replies
  • 1615 views

Hi ,

 

I have written the code to create a table in a drawing and add text in the table cells.

the API's I am using to add text are :

ProDwgtableTextEnter(table, colnum, rownum, text);
ProDwgtableCelltextWrap(table, rownum, colnum);

 

The issue I am facing is that the font of the text which is added to the table remains same.

is there any way I can change the font size and thickness of the text ?

 

Thanks and regards,

Sekar

2 replies

14-Alexandrite
December 12, 2019

I have noticed that Creo 4.0 M80 has issue with these API and its been fixed in M100.

17-Peridot
December 13, 2019

You can use ProDwgtableCellNoteGet. You will get ProDtlnote for a specified cell of a drawing table. Then you can use any text formation functions for ProDtlnote.