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
File: DgDimension.h
Module: API Reference
| |
| |
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 type of alignment of stacked fraction. | |
Set/Get method for the StackedFractionType enumeration. Must be enabled in the OdDgDimension. | |
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-2022. Open Design Alliance All rights reserved.
|