Class MText
Multiline Text
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Dxflib.Entities.Text
Assembly: Dxflib.dll
Syntax
public class MText : Entity, IText, INotifyPropertyChanged
Constructors
| Improve this Doc View SourceMText(MTextBuffer)
Multiline Text Constructor
Declaration
public MText(MTextBuffer tb)
Parameters
Type | Name | Description |
---|---|---|
MTextBuffer | tb |
Properties
| Improve this Doc View SourceContents
Contents of the string
Declaration
public string Contents { get; set; }
Property Value
Type | Description |
---|---|
System.String |
DrawDirection
Draw Direction of the text
Declaration
public DrawDirections DrawDirection { get; set; }
Property Value
Type | Description |
---|---|
DrawDirections |
Height
Height of the text
Declaration
public double Height { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
IsAnnotative
Is annotative Flag
Declaration
public bool IsAnnotative { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Justify
Justify Options
Declaration
public JustifyOptions Justify { get; set; }
Property Value
Type | Description |
---|---|
JustifyOptions |
PositionVertex
The Position Vector of the text
Declaration
public Vertex PositionVertex { get; set; }
Property Value
Type | Description |
---|---|
Vertex |
ReferenceRectangleWidth
The width of the reference rectangle
Declaration
public double ReferenceRectangleWidth { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Rotation
Rotation of the text in radians
Declaration
public double Rotation { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
TextStyle
The Text Style
Declaration
public Style TextStyle { get; set; }
Property Value
Type | Description |
---|---|
Style |
Events
| Improve this Doc View SourcePropertyChanged
Property Changed Event
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type | Description |
---|---|
System.ComponentModel.PropertyChangedEventHandler |
Implements
System.ComponentModel.INotifyPropertyChanged