Share

AcGiTextStyle

Class Hierarchy

AcRxObject
    AcRxCopyOnWriteObject
        AcGiParameter
            AcGiTextStyle

C++

class AcGiTextStyle : public AcGiParameter;

File

acgi.h

Description

This class is used to set the display attributes of text. It is passed as an argument to one of the AcGiGeometry::text() member functions.

Remarks

When worldDraw() or viewportDraw() are entered, the AcGiTextStyle is set to STANDARD. In this configuration, all text drawn follows any changes made to the font in the drawing's STANDARD text style.

AcGiTextStyles can be mapped to or from AcDbTextStyleTableRecords via the styleName using the global functions fromAcDbTextStyle() and toAcDbTextStyle().

This mechanism is used to support the mapping of AcGiTextStyles over to AcDbTextStyleTableRecords when exploding proxy entities that have text graphics primitives that explode into AcDbText entites.

Links

AcGiTextStyle Constructor, AcGiTextStyle Methods

Was this information helpful?