# TextEntity class

Namespace: [Rhino.Geometry](https://developer.rhino3d.com/api/rhinocommon/namespace/rhino.geometry.md) · Assembly: [RhinoCommon](https://developer.rhino3d.com/api/rhinocommon/assembly/rhinocommon.md)

```cs
[Serializable]
public class TextEntity : AnnotationBase
```

## Constructors

- [TextEntity](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.textentity/ctor.md): (2 overloads) Initializes a new instance of the [TextEntity](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.textentity.md) class.

## Properties

- [Justification](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.textentity/justification.md): Gets or sets the justification of text in relation to its base point.
- [TextHorizontalAlignment](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.textentity/texthorizontalalignment.md)
- [TextOrientation](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.textentity/textorientation.md)
- [TextVerticalAlignment](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.textentity/textverticalalignment.md)

## Methods

- [Create](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.textentity/create.md): (static) Create Text geometry or null if input is invalid
- [CreateCurves](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.textentity/createcurves.md): (2 overloads) Returns the outline curves.
- [CreateCurvesGrouped](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.textentity/createcurvesgrouped.md): (2 overloads) Creates planar curve from text outline curves. Curves are grouped such that each element in the list being returned represents a single character.
- [CreateExtrusions](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.textentity/createextrusions.md): (2 overloads) Creates extrusions from the outline curves with specified height.
- [CreateExtrusionsGrouped](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.textentity/createextrusionsgrouped.md): (2 overloads) Creates extrusions from text outline curves. Extrusions are grouped such that each element in the list being returned represents a single character.
- [CreatePolySurfaces](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.textentity/createpolysurfaces.md): (2 overloads) Creates breps from the outline curves with specified height.
- [CreatePolysurfacesGrouped](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.textentity/createpolysurfacesgrouped.md): (2 overloads) Creates 3d Breps from text outline curves. Breps are grouped such that each element in the list being returned represents a single character.
- [CreateSurfaces](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.textentity/createsurfaces.md): (2 overloads) Creates planar breps from the outline curves.
- [CreateSurfacesGrouped](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.textentity/createsurfacesgrouped.md): (2 overloads) Creates planar Breps from text outline curves. Breps are grouped such that each element in the list being returned represents a single character.
- [CreateWithRichText](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.textentity/createwithrichtext.md): (static) Create RichText geometry or null if input is invalid
- [Explode](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.textentity/explode.md): Explodes this text entity into an array of curves.
- [GetTextTransform](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.textentity/gettexttransform.md): (2 overloads) Get the transform for this text object's text geometry
- [Transform](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.textentity/transform.md): Transform the object by a 4x4 transform matrix and change text height override to accommodate scaling in the transform if necessary

## Inherited Members

- From [AnnotationBase](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.annotationbase.md): [AlternateDimensionLengthDisplay](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.annotationbase/alternatedimensionlengthdisplay.md), [AnnotationType](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.annotationbase/annotationtype.md), [DecimalSeparator](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.annotationbase/decimalseparator.md), [DimensionLengthDisplay](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.annotationbase/dimensionlengthdisplay.md), [DimensionScale](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.annotationbase/dimensionscale.md), [DimensionStyle](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.annotationbase/dimensionstyle.md), [DimensionStyleId](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.annotationbase/dimensionstyleid.md), [DrawForward](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.annotationbase/drawforward.md), [DrawTextFrame](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.annotationbase/drawtextframe.md), [FirstCharFont](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.annotationbase/firstcharfont.md), [Font](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.annotationbase/font.md), [FontIndex](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.annotationbase/fontindex.md), [FormatWidth](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.annotationbase/formatwidth.md), [HasPropertyOverrides](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.annotationbase/haspropertyoverrides.md), [LineSpaceScale](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.annotationbase/linespacescale.md), [MaskColor](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.annotationbase/maskcolor.md), [MaskColorSource](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.annotationbase/maskcolorsource.md), [MaskEnabled](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.annotationbase/maskenabled.md), [MaskFrame](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.annotationbase/maskframe.md), [MaskOffset](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.annotationbase/maskoffset.md), [MaskUsesViewportColor](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.annotationbase/maskusesviewportcolor.md), [ParentDimensionStyle](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.annotationbase/parentdimensionstyle.md), [PlainText](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.annotationbase/plaintext.md), [PlainTextWithFields](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.annotationbase/plaintextwithfields.md), [Plane](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.annotationbase/plane.md), [RichText](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.annotationbase/richtext.md), [Text](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.annotationbase/text.md), [TextFormula](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.annotationbase/textformula.md), [TextHasRtfFormatting](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.annotationbase/texthasrtfformatting.md), [TextHeight](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.annotationbase/textheight.md), [TextIsWrapped](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.annotationbase/textiswrapped.md), [TextModelWidth](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.annotationbase/textmodelwidth.md), [TextRotationDegrees](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.annotationbase/textrotationdegrees.md), [TextRotationRadians](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.annotationbase/textrotationradians.md), [UseKerning](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.annotationbase/usekerning.md), [ClearPropertyOverrides](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.annotationbase/clearpropertyoverrides.md), [GetBoundingBox](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.annotationbase/getboundingbox.md), [GetDimensionStyle](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.annotationbase/getdimensionstyle.md), [GetPlainTextWithRunMap](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.annotationbase/getplaintextwithrunmap.md), [IsAllBold](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.annotationbase/isallbold.md), [IsAllItalic](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.annotationbase/isallitalic.md), [IsAllUnderlined](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.annotationbase/isallunderlined.md), [IsPropertyOverridden](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.annotationbase/ispropertyoverridden.md), [RunReplace](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.annotationbase/runreplace.md), [SetBold](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.annotationbase/setbold.md), [SetFacename](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.annotationbase/setfacename.md), [SetItalic](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.annotationbase/setitalic.md), [SetOverrideDimStyle](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.annotationbase/setoverridedimstyle.md), [SetRichText](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.annotationbase/setrichtext.md), [SetUnderline](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.annotationbase/setunderline.md), [WrapText](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.annotationbase/wraptext.md)
- From [GeometryBase](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.geometrybase.md): [HasBrepForm](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.geometrybase/hasbrepform.md), [IsDeformable](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.geometrybase/isdeformable.md), [IsDocumentControlled](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.geometrybase/isdocumentcontrolled.md), [IsShallowDuplicate](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.geometrybase/isshallowduplicate.md), [ObjectType](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.geometrybase/objecttype.md), [UserStringCount](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.geometrybase/userstringcount.md), [ComponentIndex](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.geometrybase/componentindex.md), [DataCRC](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.geometrybase/datacrc.md), [DeleteAllUserStrings](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.geometrybase/deletealluserstrings.md), [DeleteUserString](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.geometrybase/deleteuserstring.md), [Dispose](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.geometrybase/dispose.md), [Duplicate](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.geometrybase/duplicate.md), [DuplicateShallow](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.geometrybase/duplicateshallow.md), [GetBoundingBox](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.geometrybase/getboundingbox.md), [GetUserString](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.geometrybase/getuserstring.md), [GetUserStrings](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.geometrybase/getuserstrings.md), [MakeDeformable](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.geometrybase/makedeformable.md), [MemoryEstimate](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.geometrybase/memoryestimate.md), [NonConstOperation](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.geometrybase/nonconstoperation.md), [OnSwitchToNonConst](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.geometrybase/onswitchtononconst.md), [Rotate](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.geometrybase/rotate.md), [Scale](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.geometrybase/scale.md), [SetUserString](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.geometrybase/setuserstring.md), [Transform](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.geometrybase/transform.md), [Translate](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.geometrybase/translate.md)
- From [CommonObject](https://developer.rhino3d.com/api/rhinocommon/type/rhino.runtime.commonobject.md): [Disposed](https://developer.rhino3d.com/api/rhinocommon/type/rhino.runtime.commonobject/disposed.md), [HasUserData](https://developer.rhino3d.com/api/rhinocommon/type/rhino.runtime.commonobject/hasuserdata.md), [IsValid](https://developer.rhino3d.com/api/rhinocommon/type/rhino.runtime.commonobject/isvalid.md), [UserData](https://developer.rhino3d.com/api/rhinocommon/type/rhino.runtime.commonobject/userdata.md), [UserDictionary](https://developer.rhino3d.com/api/rhinocommon/type/rhino.runtime.commonobject/userdictionary.md), [ConstructConstObject](https://developer.rhino3d.com/api/rhinocommon/type/rhino.runtime.commonobject/constructconstobject.md), [Dispose](https://developer.rhino3d.com/api/rhinocommon/type/rhino.runtime.commonobject/dispose.md), [EnsurePrivateCopy](https://developer.rhino3d.com/api/rhinocommon/type/rhino.runtime.commonobject/ensureprivatecopy.md), [GetObjectData](https://developer.rhino3d.com/api/rhinocommon/type/rhino.runtime.commonobject/getobjectdata.md), [IsValidWithLog](https://developer.rhino3d.com/api/rhinocommon/type/rhino.runtime.commonobject/isvalidwithlog.md), [ToJSON](https://developer.rhino3d.com/api/rhinocommon/type/rhino.runtime.commonobject/tojson.md)
