Hi
to set ColWidth of a table i use
tbl.cols[0].aSet(WPAT_COLWIDTH, 600);
i want to get a ColWidth with 2 cm width, how to calculate cm into the WPAT_COLWIDTH value?
Ciao
Stefan
#1
♥ 0
Hi
to set ColWidth of a table i use
tbl.cols[0].aSet(WPAT_COLWIDTH, 600);
i want to get a ColWidth with 2 cm width, how to calculate cm into the WPAT_COLWIDTH value?
Ciao
Stefan
The formula is
cm / 2.54 * 1440
or use the function WPCentimeterToTwips defined in unit WPRTEPlatform.