Table of Contents

Class TextAnnotation

Namespace
FemDesign.Drawing
Assembly
FemDesign.Core.dll
public class TextAnnotation : IStructureElement, IFemDesignEntity
Inheritance
TextAnnotation
Implements
Inherited Members
Extension Methods

Constructors

TextAnnotation()

public TextAnnotation()

TextAnnotation(Point3d, Vector3d, Vector3d, Style_type, string)

public TextAnnotation(Point3d position, Vector3d localX, Vector3d localY, Style_type styleType, string text)

Parameters

position Point3d
localX Vector3d
localY Vector3d
styleType Style_type
text string

TextAnnotation(Point3d, Vector3d, Vector3d, string)

public TextAnnotation(Point3d position, Vector3d localX, Vector3d localY, string text)

Parameters

position Point3d
localX Vector3d
localY Vector3d
text string

Fields

_text

public string _text

Field Value

string

Properties

DefaultLayer

public static string DefaultLayer { get; }

Property Value

string

Guid

Global Unique Id of entity

public Guid Guid { get; set; }

Property Value

Guid

LocalX

public Vector3d LocalX { get; set; }

Property Value

Vector3d

LocalY

public Vector3d LocalY { get; set; }

Property Value

Vector3d

Position

public Point3d Position { get; set; }

Property Value

Point3d

StyleType

public Style_type StyleType { get; set; }

Property Value

Style_type

Text

public string Text { get; set; }

Property Value

string

Methods

EntityCreated()

Invoke when an instance is created.

public void EntityCreated()

EntityModified()

Invoke when an instance is modified.

Changes timestamp and action.

public void EntityModified()

Initialize()

public void Initialize()

ToString()

public override string ToString()

Returns

string

Operators

implicit operator Text_type(TextAnnotation)

public static implicit operator Text_type(TextAnnotation t)

Parameters

t TextAnnotation

Returns

Text_type