Hi all,
I am having some trouble implementing these font properties: XHeight, Descent, CapHeight, Leading, LineHeight.
The documentation (Font β Xojo documentation) is silent.
Thank you in advance for your help.
DB
Hi all,
I am having some trouble implementing these font properties: XHeight, Descent, CapHeight, Leading, LineHeight.
The documentation (Font β Xojo documentation) is silent.
Thank you in advance for your help.
DB
It would help if you defined what you mean by βtroubleβ.
You can access the properties FontAscent or TextHeight by writing this:
Var myDouble as Double
Var myGraphics as Graphics
myDouble = myGraphics.FontAscent
myDouble = myGraphics.TextHeight
But what do you have to write to access these properties : XHeight, Descent, CapHeight, Leading, LineHeight ?
DB