Click or drag to resize

TextStyle Class

imbVeles Framework: imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Represents a text style.
Inheritance Hierarchy

Namespace:  netDxf.Tables
Assembly:  netDXF.Standard (in netDXF.Standard.dll) Version: 2.1.1
Syntax
C#
public class TextStyle : TableObject
Request Example View Source

The TextStyle type exposes the following members.

Constructors
  NameDescription
Public methodTextStyle(String)
Initializes a new instance of the TextStyle class. The font file name, without the extension, will be used as the TextStyle name.
Public methodTextStyle(String, FontStyle)
Initializes a new instance of the TextStyle class exclusively to be used with true type fonts.
Public methodTextStyle(String, String)
Initializes a new instance of the TextStyle class.
Public methodTextStyle(String, String, FontStyle)
Initializes a new instance of the TextStyle class exclusively to be used with true type fonts.
Top
Properties
  NameDescription
Public propertyBigFont
Gets or sets an Asian-language Big Font file.
Public propertyCodeName
Gets the DXF object name.
(Inherited from DxfObject.)
Public propertyStatic memberDefault
Gets the default text style.
Public propertyFontFamilyName
Gets or sets the true type font family name.
Public propertyFontFile
Gets or sets the text style font file name.
Public propertyFontStyle
Gets or sets the true type font style.
Public propertyHandle
Gets the handle assigned to the DXF object.
(Inherited from DxfObject.)
Public propertyHeight
Gets or sets the text height.
Public propertyIsBackward
Gets or sets if the text is backward (mirrored in X).
Public propertyIsReserved
Gets if the table object is reserved and cannot be deleted.
(Inherited from TableObject.)
Public propertyIsTrueType
Gets if the font used is a true type.
Public propertyIsUpsideDown
Gets or sets if the text is upside down (mirrored in Y).
Public propertyIsVertical
Gets or sets the text is vertical.
Public propertyName
Gets the name of the table object.
(Inherited from TableObject.)
Public propertyObliqueAngle
Gets or sets the font oblique angle in degrees.
Public propertyOwner
Gets the owner of the actual text style.
Public propertyWidthFactor
Gets or sets the text width factor.
Top
Methods
  NameDescription
Public methodClone
Creates a new TextStyle that is a copy of the current instance.
(Overrides TableObjectClone.)
Public methodClone(String)
Creates a new TextStyle that is a copy of the current instance.
(Overrides TableObjectClone(String).)
Public methodCompareTo(Object)
Compares the current TableObject with another TableObject of the same type.
(Inherited from TableObject.)
Public methodCompareTo(TableObject)
Compares the current TableObject with another TableObject of the same type.
(Inherited from TableObject.)
Public methodEquals(Object)
Check if two TableObject are equal.
(Inherited from TableObject.)
Public methodEquals(TableObject)
Check if two TableObject are equal.
(Inherited from TableObject.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Returns the hash code for this instance.
(Inherited from TableObject.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnNameChangedEvent (Inherited from TableObject.)
Public methodToString
Converts the value of this instance to its equivalent string representation.
(Inherited from TableObject.)
Top
Events
  NameDescription
Public eventNameChanged (Inherited from TableObject.)
Top
Fields
  NameDescription
Public fieldStatic memberDefaultName
Default text style name.
Top
See Also