API Reference > OdDg Classes > OdDgText2d Class > OdDgText2d Methods > OdDgText2d::getItalics Method
OdDgText2d::getItalics Method
Syntax
C++
virtual bool getItalics() const;

Text can be 'italics' even if it has 0 slant (for instance, TrueType font). So this method sets 'italics' flag in case of true; and resets 'italics' flag and 'slant' in case of false.

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