Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

feca296b 3736 bd15 3c79 5d0451dbda16

haplokuon edited this page May 6, 2023 · 1 revision

VPorts Class

netDxf 3.0.0 Library

Represents a collection of viewports.

Definition

Namespace: netDxf.Collections
Assembly: netDxf (in netDxf.dll) Version: 3.0.0

C#

public sealed class VPorts : TableObjects<VPort>

VB

Public NotInheritable Class VPorts
	Inherits TableObjects(Of VPort)

C++

public ref class VPorts sealed : public TableObjects<VPort^>

F#

[<SealedAttribute>]
type VPorts = 
    class
        inherit TableObjects<VPort>
    end
Inheritance Object → DxfObjectTableObjects(VPort) → VPorts

Remarks

Multiple Model viewports are not supported, there can be only one called "*Active".

Properties

CodeName Gets the DXF object name.
(Inherited from DxfObject)
Count Gets the number of table objects.
(Inherited from TableObjects(T))
Handle Gets the handle assigned to the DXF object.
(Inherited from DxfObject)
Item Gets a table object from the list by name.
(Inherited from TableObjects(T))
Items Gets the table object list.
(Inherited from TableObjects(T))
Names Gets the ObjectTable names.
(Inherited from TableObjects(T))
Owner Gets the owner of the actual DXF object.
(Inherited from TableObjects(T))
XData Gets the entity extended data.
(Inherited from DxfObject)

Methods

Add Adds a table object to the list.
(Inherited from TableObjects(T))
Clear Removes all table objects that are not reserved and have no references.
(Inherited from TableObjects(T))
Contains(String) Checks if a table object already exists in the list.
(Inherited from TableObjects(T))
Contains(T) Checks if a table object already exists in the list.
(Inherited from TableObjects(T))
Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
GetEnumerator Returns an enumerator that iterates through the table object collection.
(Inherited from TableObjects(T))
GetHashCode Serves as the default hash function.
(Inherited from Object)
GetReferences(String) Gets the dxf objects referenced by a T.
(Inherited from TableObjects(T))
GetReferences(T) Gets the dxf objects referenced by a T.
(Inherited from TableObjects(T))
GetType Gets the Type of the current instance.
(Inherited from Object)
HasReferences(String) Checks if the specified TableObject has been referenced by other DxfObjects.
(Inherited from TableObjects(T))
HasReferences(T) Checks if the specified TableObject has been referenced by other DxfObjects.
(Inherited from TableObjects(T))
Remove(String) Removes a viewports.
(Overrides TableObjects(T).Remove(String))
Remove(VPort) Removes a viewports.
(Overrides TableObjects(T).Remove(T))
ToString Obtains a string that represents the DXF object.
(Inherited from DxfObject)
TryGetValue Gets the table object associated with the specified name.
(Inherited from TableObjects(T))

Events

XDataAddAppReg
(Inherited from DxfObject)
XDataRemoveAppReg
(Inherited from DxfObject)

See Also

Reference

netDxf.Collections Namespace

Clone this wiki locally