Class MLineStyles
Represents a collection of multiline styles.
Inherited Members
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 MLineStyles : TableObjects<MLineStyle>, IEnumerable<MLineStyle>, IEnumerable
Methods
| Improve this Doc View SourceRemove(MLineStyle)
Removes a multiline style.
Declaration
public override bool Remove(MLineStyle item)
Parameters
| Type | Name | Description |
|---|---|---|
| MLineStyle | item | MLineStyle to remove from the document. |
Returns
| Type | Description |
|---|---|
| System.Boolean | True if the multiline style has been successfully removed, or false otherwise. |
Overrides
netDxf.Collections.TableObjects<netDxf.Objects.MLineStyle>.Remove(netDxf.Objects.MLineStyle)
Remarks
Reserved multiline styles or any other referenced by objects cannot be removed.
Remove(String)
Removes a multiline style.
Declaration
public override bool Remove(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | MLineStyle name to remove from the document. |
Returns
| Type | Description |
|---|---|
| System.Boolean | True if the multiline style has been successfully removed, or false otherwise. |
Overrides
netDxf.Collections.TableObjects<netDxf.Objects.MLineStyle>.Remove(System.String)
Remarks
Reserved multiline styles or any other referenced by objects cannot be removed.
Implements
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable