Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
Hello,
I tried to set Row height of a table using API ProDwgtableRowHeightSet. I would not prefer to set it in number of characters (Due to some limitation). I am not able to get how to convert Row size in character Or Row Size in MM to PRODWGTABLESIZE_SCREEN.
I tried to transform point using sheet transformation matrix, but no success!
I am open to provide test part , further more clarification and sample code snippet as well.
Regards
Ketan
I think there are many differents between different used fonts and styles: e.g. many companys change their dtl-styles and so on.
A possible solution could be to create a test table with character height of 1 and then read the dimension of that table and delete it.
So you can use that dimension after recalculate it from screenposition to mm or something like that.
But this is only an idea. I don't have the time -at the moment- to verify it.
Br,
Eike
Hello Eike,
Thank you for sharing idea.
I tried to get dimension in drawing unit using ProDwgtableRowHeightGet for existing rows of a table. I converted height to screen coordinate and then again used converted height (API ProDrawingSheetTrfGet) for setting row height while adding new row. but result is not fruitful.
If I am missing something to try for from your suggestion, please suggest . I would try that.
Regards
Ketan