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

5b81c3eb 6323 e54a 33c4 72d944e58aee

haplokuon edited this page Jun 28, 2023 · 2 revisions

TextStyle Class

netDxf 3.0.0 Library

Represents a text style.

Definition

Namespace: netDxf.Tables
Assembly: netDxf (in netDxf.dll) Version: 3.0.0

C#

public class TextStyle : TableObject

VB

Public Class TextStyle
	Inherits TableObject

C++

public ref class TextStyle : public TableObject

F#

type TextStyle = 
    class
        inherit TableObject
    end
Inheritance Object → DxfObjectTableObject → TextStyle

Constructors

TextStyle(String, String) Initializes a new instance of the TextStyle class.
TextStyle(String, String, FontStyle) Initializes a new instance of the TextStyle class exclusively to be used with true type fonts.

Properties

BigFont Gets or sets an Asian-language Big Font file.
CodeName Gets the DXF object name.
(Inherited from DxfObject)
Default Gets the default text style.
FontFamilyName Gets or sets the true type font family name.
FontFile Gets or sets the text style font file name.
FontStyle Gets or sets the true type font style.
Handle Gets the handle assigned to the DXF object.
(Inherited from DxfObject)
Height Gets or sets the text height.
IsBackward Gets or sets if the text is backward (mirrored in X).
IsReserved Gets if the table object is reserved and cannot be deleted.
(Inherited from TableObject)
IsUpsideDown Gets or sets if the text is upside down (mirrored in Y).
IsVertical Gets or sets the text is vertical.
Name Gets the name of the table object.
(Inherited from TableObject)
ObliqueAngle Gets or sets the font oblique angle in degrees.
Owner Gets the owner of the actual text style.
WidthFactor Gets or sets the text width factor.
XData Gets the entity extended data.
(Inherited from DxfObject)

Methods

Clone() Creates a new TextStyle that is a copy of the current instance.
(Overrides TableObject.Clone())
Clone(String) Creates a new TextStyle that is a copy of the current instance.
(Overrides TableObject.Clone(String))
CompareTo(Object) Compares the current TableObject with another TableObject of the same type.
(Inherited from TableObject)
CompareTo(TableObject) Compares the current TableObject with another TableObject of the same type.
(Inherited from TableObject)
Equals(Object) Check if two TableObject are equal.
(Inherited from TableObject)
Equals(TableObject) Check if two TableObject are equal.
(Inherited from TableObject)
GetHashCode Returns the hash code for this instance.
(Inherited from TableObject)
GetReferences Gets the list of DxfObjects referenced by this instance.
(Overrides TableObject.GetReferences())
GetType Gets the Type of the current instance.
(Inherited from Object)
HasReferences Checks if this instance has been referenced by other DxfObjects.
(Overrides TableObject.HasReferences())
ToString Converts the value of this instance to its equivalent string representation.
(Inherited from TableObject)

Events

NameChanged
(Inherited from TableObject)
XDataAddAppReg
(Inherited from DxfObject)
XDataRemoveAppReg
(Inherited from DxfObject)

Fields

DefaultFont Default text style font.
DefaultName Default text style name.

See Also

Reference

netDxf.Tables Namespace

Clone this wiki locally