API Reference > OdDg Classes > OdDgDimTextInfo Class
OdDgDimTextInfo Class
OdDgDimTextInfo
Syntax
C++
class OdDgDimTextInfo;

DgDimension.h

This dimension settings class is a member of each OdDgDimension. It describes the width and height, color, font, weight, etc., of the text of the OdDgDimension.

It is important to note that most other dimension settings are generated as a ratio of the text height set here, by the tool at time of dimension creation. The values set in those other settings are final and are used as-is (stored value) at rendering time; that is, the stored value in other settings are the final multiplied value, not the ratio. But the dialog boxes for the tools in Microstation will show the ratio to this height. 

This class also includes whether to use the Master Units in the labeling text, and also includes the stacked fraction format, if it is enabled in the OdDgDimension. 

Corresponding C++ library: TG_Db 

 

 
Name 
Description 
 
 
 
 
 
Name 
Description 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Name 
Description 
 
 
 
 
 
Set/Get method for the HasAltFormat flag. 
 
Set/Get method for the HasSecAltFormat flag. 
 
 
 
Set/Get method for the PrimaryNoMasterUnits flag, whether the primary labeling would include the Master Units. 
 
Set/Get method for the SecNoMasterUnits flag, whether the secondary labeling would include the Master Units. 
 
Set/Get method for the StackedFractionType enumeration. Must be enabled in the OdDgDimension. 
 
Set/Get method for the type of alignment of stacked fraction. 
 
Retrieve all Flags as one OdUInt16 
 
Set/Get method for UseColor, whether to set the text to the dimension's color. 
 
Set/Get method for UseWeight, whether to use the line weight in rendering the dimension. 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Set all Flags as one OdUInt16 
 
 
 
 
 
 
 
 
Copyright © 2002–2021. Open Design Alliance. All rights reserved.