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 
 
This is ~OdDgDimTextInfo, a member of class OdDgDimTextInfo. 
 
This is OdDgDimTextInfo, a member of class OdDgDimTextInfo. 
 
Name 
Description 
 
This is record OdDgDimTextInfo::DimThousandSeparator. 
 
This is record OdDgDimTextInfo::FitOptions. 
 
This is record OdDgDimTextInfo::StackedFractionType. 
 
This is record OdDgDimTextInfo::StackFractionAlignment. 
 
This is record OdDgDimTextInfo::TextAlignment. 
 
This is record OdDgDimTextInfo::TextLocation. 
 
This is record OdDgDimTextInfo::TextRotation. 
 
Name 
Description 
 
This is getColorIndex, a member of class OdDgDimTextInfo. 
 
This is getFontEntryId, a member of class OdDgDimTextInfo. 
 
Set/Get method for the HasAltFormat flag. 
 
Set/Get method for the HasSecAltFormat flag. 
 
This is getHeight, a member of class OdDgDimTextInfo. 
 
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. 
 
This is getWeight, a member of class OdDgDimTextInfo. 
 
This is getWidth, a member of class OdDgDimTextInfo. 
 
This is setColorIndex, a member of class OdDgDimTextInfo. 
 
This is setDefaultValues, a member of class OdDgDimTextInfo. 
 
This is setFontEntryId, a member of class OdDgDimTextInfo. 
 
This is setHasAltFormatFlag, a member of class OdDgDimTextInfo. 
 
This is setHasSecAltFormatFlag, a member of class OdDgDimTextInfo. 
 
This is setHeight, a member of class OdDgDimTextInfo. 
 
This is setPrimaryNoMasterUnitsFlag, a member of class OdDgDimTextInfo. 
 
This is setSecNoMasterUnitsFlag, a member of class OdDgDimTextInfo. 
 
This is setStackedFractionType, a member of class OdDgDimTextInfo. 
 
This is setStackFractAlignment, a member of class OdDgDimTextInfo. 
 
Set all Flags as one OdUInt16 
 
This is setUseColorFlag, a member of class OdDgDimTextInfo. 
 
This is setUseWeightFlag, a member of class OdDgDimTextInfo. 
 
This is setWeight, a member of class OdDgDimTextInfo. 
 
This is setWidth, a member of class OdDgDimTextInfo. 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.