API Reference > Other Classes > OdUnitsFormatter Class
OdUnitsFormatter Class
OdUnitsFormatterOdUnitsFormatterOdUnitsFormatter
Syntax
C++
class OdUnitsFormatter : public OdRxObject;

OdUnitsFormatter.h

This class defines the interface for a Units Formatter. 

 

 
Name 
Description 
 
This is record OdUnitsFormatter::AUnits. 
 
This is record OdUnitsFormatter::DimzinValues. 
 
This is record OdUnitsFormatter::LUnits. 
 
Name 
Description 
 
Returns the specified angular value as a string.  
 
This is formatA_unnorm, a member of class OdUnitsFormatter. 
 
Returns the specified angle value as a string.  
 
This is formatArea, a member of class OdUnitsFormatter. 
 
Returns the specified color value or OdCmColorBase object as a string.  
 
Returns the specified distance value as a string.  
 
Returns the specified distance value as a string.  
 
This is isZeroFeetSuppressed, a member of class OdUnitsFormatter. 
 
This is isZeroInchesSuppressed, a member of class OdUnitsFormatter. 
 
This is ODRX_DECLARE_MEMBERS, a member of class OdUnitsFormatter. 
 
Returns the specified string as an angular value.  
 
This is unformatA_unnorm, a member of class OdUnitsFormatter. 
 
Returns the specified string as an angle value.  
 
Returns the specified string as an wrapped OdCmColorBase object.  
 
Returns the specified length string as a length value.  
 
Returns the specified string as a distance value.  
Copyright © 2002–2020. Open Design Alliance. All rights reserved.