TextStyleEx Class

Derived TextStyle class with external reference information.
Public Class TextStyleEx 
Inherits TextStyle 
Implements IReadWriteDataEx
This language is not supported or no code example is available.
public class TextStyleEx : TextStyle
IReadWriteDataEx
This language is not supported or no code example is available.
Name Description
Public constructor TextStyleEx(SerializationInfo, StreamingContext) Constructor for deserializing objects.
Public constructor TextStyleEx(TextStyleEx) Copy constructor.
Public constructor TextStyleEx(string, string, FontStyle, double, string) Standard constructor.
Top
Name Description
Public property FileName The SHX file name (for SHX fonts). (inherited from TextStyle).
Public property FontFamilyName Gets or sets te font family name. (inherited from TextStyle).
Public property Name Gets or sets text style name. (inherited from TextStyle).
Public property Style Gets or sets the font style. (inherited from TextStyle).
Public property WidthFactor Gets or sets the width factor. (inherited from TextStyle).
Public property XRefName Gets or sets a string indicating whether the text style belongs to an xReference.
Top
Methods
 
Name Description
Public method Clone() Creates a new object that is a copy of the current instance.
Public method ConvertToSurrogate()
Public method Equals(TextStyle) Compares text style names ignoring cases. (inherited from TextStyle).
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (inherited from Object).
Public method GetHashCode() (inherited from TextStyle).
Public method GetKey() (inherited from TextStyle).
Public method GetObjectData(SerializationInfo, StreamingContext) Populates a SerializationInfo instance with the data needed to serialize the target object.
Public method GetType Gets the Type of the current instance. (inherited from Object).
Protected method MemberwiseClone Creates a shallow copy of the current Object. (inherited from Object).
Protected method OnKeyChanged(string, string) When the Name changes I need to notify it to the related keyed collections before changing it. (inherited from TextStyle).
Public method SetKey(string) (inherited from TextStyle).
Public method ToString() (inherited from TextStyle).
Top
Events
 
Name Description
Public event KeyChanged Occurs when the Name changes. (inherited from TextStyle).
Top
Remarks
 
Created by the ReadAutodesk class.

.NET Framework

Supported in: 4.8

In this article

Definition