Show / Hide Table of Contents

Class TextStyles

Represents a collection of text styles.

Inheritance
System.Object
DxfObject
TableObjects<TextStyle>
TextStyles
Implements
System.Collections.Generic.IEnumerable<TextStyle>
System.Collections.IEnumerable
Inherited Members
TableObjects<TextStyle>.list
TableObjects<TextStyle>.references
TableObjects<TextStyle>.Item[String]
TableObjects<TextStyle>.Items
TableObjects<TextStyle>.Names
TableObjects<TextStyle>.Count
TableObjects<TextStyle>.MaxCapacity
TableObjects<TextStyle>.Owner
TableObjects<TextStyle>.GetReferences(String)
TableObjects<TextStyle>.GetReferences(TextStyle)
TableObjects<TextStyle>.Contains(String)
TableObjects<TextStyle>.Contains(TextStyle)
TableObjects<TextStyle>.TryGetValue(String, TextStyle)
TableObjects<TextStyle>.Add(TextStyle)
TableObjects<TextStyle>.Clear()
TableObjects<TextStyle>.GetEnumerator()
TableObjects<TextStyle>.IEnumerable.GetEnumerator()
DxfObject.CodeName
DxfObject.Handle
DxfObject.ToString()
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)
Namespace: netDxf.Collections
Assembly: CADability.dll
Syntax
public sealed class TextStyles : TableObjects<TextStyle>, IEnumerable<TextStyle>, IEnumerable

Methods

| Improve this Doc View Source

Remove(TextStyle)

Removes a text style.

Declaration
public override bool Remove(TextStyle item)
Parameters
Type Name Description
TextStyle item

TextStyle to remove from the document.

Returns
Type Description
System.Boolean

True if the text style has been successfully removed, or false otherwise.

Overrides
netDxf.Collections.TableObjects<netDxf.Tables.TextStyle>.Remove(netDxf.Tables.TextStyle)
Remarks

Reserved text styles or any other referenced by objects cannot be removed.

| Improve this Doc View Source

Remove(String)

Removes a text style.

Declaration
public override bool Remove(string name)
Parameters
Type Name Description
System.String name

TextStyle name to remove from the document.

Returns
Type Description
System.Boolean

True if the text style has been successfully removed, or false otherwise.

Overrides
netDxf.Collections.TableObjects<netDxf.Tables.TextStyle>.Remove(System.String)
Remarks

Reserved text styles or any other referenced by objects cannot be removed.

Implements

System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX