ACadSharp.Entities.TextEntity

class · ACadSharp · CLR name: ACadSharp.Entities.TextEntity

Represents a ACadSharp.Entities.TextEntity

Object name F:ACadSharp.DxfFileToken.EntityText Dxf class name F:ACadSharp.DxfSubclassMarker.Text

Base type: ACadSharp.Entities.Entity. Inherited members are documented on their declaring type.

Interfaces: ACadSharp.Entities.IEntity, ACadSharp.Entities.IGeometricEntity, ACadSharp.Entities.IText, ACadSharp.IHandledCadObject, ACadSharp.IOrientable.

import acadsharp
Type = acadsharp.get_type('ACadSharp.Entities.TextEntity')

Declared public members

Signatures retain CLR types and names. Python.NET resolves overloads and converts compatible Python values at call time. Property setters are shown only when public. Operators retain their CLR names; Python.NET also maps supported operators to Python syntax.

.ctor

ACadSharp.Entities.TextEntity()

Initializes a new instance of the ACadSharp.Entities.TextEntity class.

.ctor

ACadSharp.Entities.TextEntity(System.String value)

Initializes a new instance of the ACadSharp.Entities.TextEntity class with the specified text value.

  • value: The text value.

ApplyTransform

System.Void ApplyTransform(CSMath.Transform transform)

Documentation inherited from: base member.

Clone

ACadSharp.CadObject Clone()

Documentation inherited from: base member.

GetBoundingBox

CSMath.BoundingBox GetBoundingBox()

Documentation inherited from: base member.

AlignmentPoint

CSMath.XYZ AlignmentPoint { get; set; }

Second alignment point (in OCS)

Remarks: This value is meaningful only if the value of a 72 or 73 group is nonzero (if the justification is anything other than baseline/left)

Height

System.Double Height { get; set; }

Documentation inherited from: base member.

HorizontalAlignment

ACadSharp.Entities.TextHorizontalAlignment HorizontalAlignment { get; set; }

Horizontal text justification type.

InsertPoint

CSMath.XYZ InsertPoint { get; set; }

First alignment point(in OCS)

Mirror

ACadSharp.Entities.TextMirrorFlag Mirror { get; set; }

Mirror flags.

Normal

CSMath.XYZ Normal { get; set; }

Documentation inherited from: base member.

ObjectName

System.String ObjectName { get; }

Documentation inherited from: base member.

ObjectType

ACadSharp.ObjectType ObjectType { get; }

Documentation inherited from: base member.

ObliqueAngle

System.Double ObliqueAngle { get; set; }

Specifies the oblique angle of the object.

Value: The angle in radians within the range of -85 to +85 degrees. A positive angle denotes a lean to the right; a negative value will have 2*PI added to it to convert it to its positive equivalent.

Rotation

System.Double Rotation { get; set; }

Documentation inherited from: base member.

Style

ACadSharp.Tables.TextStyle Style { get; set; }

Documentation inherited from: base member.

SubclassMarker

System.String SubclassMarker { get; }

Documentation inherited from: base member.

Thickness

System.Double Thickness { get; set; }

Specifies the distance a 2D object is extruded above or below its elevation.

Value

System.String Value { get; set; }

Documentation inherited from: base member.

VerticalAlignment

ACadSharp.Entities.TextVerticalAlignmentType VerticalAlignment { get; set; }

Vertical text justification type.

WidthFactor

System.Double WidthFactor { get; set; }

Relative X scale factor—widt

Remarks: This value is also adjusted when fit-type text is used