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