Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

b4b5fa24 d714 bf9a 392a 55dd88c34389

haplokuon edited this page May 6, 2023 · 1 revision

MText Methods

netDxf 3.0.0 Library

Methods

Clone Creates a new MText that is a copy of the current instance.
(Overrides EntityObject.Clone())
EndParagraph Ends the current paragraph.
Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
GetHashCode Serves as the default hash function.
(Inherited from Object)
GetType Gets the Type of the current instance.
(Inherited from Object)
PlainText Obtains the MText text value without the formatting codes, control characters like tab '\t' will be preserved in the result, the new paragraph command "\P" will be converted to new line feed '\r\n'.
StartParagraph() Starts a new paragraph.
StartParagraph(MTextParagraphOptions) Starts a new paragraph.
ToString Converts the value of this instance to its equivalent string representation.
(Inherited from EntityObject)
TransformBy(Matrix4) Moves, scales, and/or rotates the current entity given a 4x4 transformation matrix.
(Inherited from EntityObject)
TransformBy(Matrix3, Vector3) Moves, scales, and/or rotates the current entity given a 3x3 transformation matrix and a translation vector.
(Overrides EntityObject.TransformBy(Matrix3, Vector3))
Write(String) Adds the text to the current paragraph.
Write(String, MTextFormattingOptions) Adds the text to the current paragraph.
WriteFraction(String, String, FractionFormatType) Formats a text string to represent a fraction.
WriteFraction(String, String, FractionFormatType, MTextFormattingOptions) Formats a text string to represent a fraction.

See Also

Reference

MText Class
netDxf.Entities Namespace

Clone this wiki locally