Show / Hide Table of Contents

Class Views

Represents a collection of views.

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

Methods

| Improve this Doc View Source

Remove(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.

| Improve this Doc View Source

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
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX