API Reference > Other Classes > OdFont Class > OdFont Methods > OdFont::getUnderlinePos Method
OdFont::getUnderlinePos Method
Syntax
C++
virtual double getUnderlinePos(double textSize) const;
Parameters 
Description 
double textSize 
[in] Text size.  

The underline position for this font object at the specified text size.

Returns the underline position for this font object at the specified text size. 

 

The default implementation of this function returns -2.0 * textSize.

Copyright © 2002–2022. Open Design Alliance. All rights reserved.