Show / Hide Table of Contents

Class DimensionStyles

Represents a collection of dimension styles.

Inheritance
System.Object
DxfObject
TableObjects<DimensionStyle>
DimensionStyles
Implements
System.Collections.Generic.IEnumerable<DimensionStyle>
System.Collections.IEnumerable
Inherited Members
TableObjects<DimensionStyle>.list
TableObjects<DimensionStyle>.references
TableObjects<DimensionStyle>.Item[String]
TableObjects<DimensionStyle>.Items
TableObjects<DimensionStyle>.Names
TableObjects<DimensionStyle>.Count
TableObjects<DimensionStyle>.MaxCapacity
TableObjects<DimensionStyle>.Owner
TableObjects<DimensionStyle>.GetReferences(String)
TableObjects<DimensionStyle>.GetReferences(DimensionStyle)
TableObjects<DimensionStyle>.Contains(String)
TableObjects<DimensionStyle>.Contains(DimensionStyle)
TableObjects<DimensionStyle>.TryGetValue(String, DimensionStyle)
TableObjects<DimensionStyle>.Add(DimensionStyle)
TableObjects<DimensionStyle>.Clear()
TableObjects<DimensionStyle>.GetEnumerator()
TableObjects<DimensionStyle>.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 DimensionStyles : TableObjects<DimensionStyle>, IEnumerable<DimensionStyle>, IEnumerable

Methods

| Improve this Doc View Source

Remove(DimensionStyle)

Removes a dimension style.

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

DimensionStyle to remove from the document.

Returns
Type Description
System.Boolean

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

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

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

| Improve this Doc View Source

Remove(String)

Removes a dimension style.

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

DimensionStyle name to remove from the document.

Returns
Type Description
System.Boolean

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

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

Reserved dimension 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