WPCubed Product Support

ASetFontName doesn't work

It seems ASetFontName does not work:

tbli: TParagraph;

tbli.Rows[i].Cols[j].ASetFontName('Arial');

has no any effect

Other similar methods like:

======================

tbli.Rows[i].Cols[j].ASetCharStyle(true, WPSTY_BOLD);

tbli.Rows[i].Cols[j].ASetColor(WPAT_FGColor, clHeaderBack);

tbli.Rows[i].Cols[j].ASetColor(WPAT_BorderColor, clRed);

======================

work fine.

#1 ♥ 0
4.1k Views 1 links 2 users read 1 min
wpsupport

You will see a font change only of the text in the paragraph (or cell) does not use a character attribute on its own.

You can use ClearCharAttributes(false) to reset the attributes of the text.

#2 ♥ 0
This category is archived. No new posts are possible.