Show / Hide Table of Contents

Class VPorts

Represents a collection of viewports.

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

Methods

| Improve this Doc View Source

Remove(VPort)

Removes a viewports.

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

VPort to remove from the document.

Returns
Type Description
System.Boolean

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

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

Reserved viewports or any other referenced by objects cannot be removed.

| Improve this Doc View Source

Remove(String)

Removes a viewports.

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

VPort name to remove from the document.

Returns
Type Description
System.Boolean

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

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

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