TextSize and TextFo...
Clear all

TextSize and TextFont return invalid values

3 Posts
2 Users
Topic starter

I am trying to implement a printing routine and need to get the Heading and Cell text font and text size for a DataView grid object. It appears the TextFont is always an empty string and TextSize is always zero.

For the header I have tried:
.Column( iCol ).HeadingTextFont
.Column( iCol ).HeadingTextSize

for the Cell I have tried:
.CellTextFont(iRow, iCol)
.CellTextSize(iRow, iCol)

I have also tried


The font is always an empty string
and the text size is always 0.

I am sure I am missing something simple...

How should I determine the currently used text font and text size for column headings and cells?

alindsay Topic starter February 18, 2019 10:48 am

This is on MacOS Mojave 10.14.3.

2 Answers

Currently a TextSize of zero or empty Font name will cause rendering to use a font and size based on the target OS, but I agree that the properties should reflect what will be used. I'll add that for the next update.

Topic starter

Sound good. Thank you