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

29689f64 a6d5 8015 a195 de9660d4350d

haplokuon edited this page May 6, 2023 · 1 revision

VPort Class

netDxf 3.0.0 Library

Represents a document viewport.

Definition

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

C#

public class VPort : TableObject

VB

Public Class VPort
	Inherits TableObject

C++

public ref class VPort : public TableObject

F#

type VPort = 
    class
        inherit TableObject
    end
Inheritance Object → DxfObjectTableObject → VPort

Constructors

VPort Initializes a new instance of the VPort class.

Properties

Active Gets the active viewport.
CodeName Gets the DXF object name.
(Inherited from DxfObject)
GridSpacing Gets or sets the grid spacing X and Y.
Handle Gets the handle assigned to the DXF object.
(Inherited from DxfObject)
IsReserved Gets if the table object is reserved and cannot be deleted.
(Inherited from TableObject)
Name Gets the name of the table object.
(Inherited from TableObject)
Owner Gets the owner of the actual viewport.
ShowGrid Gets or sets the grid on/off.
SnapBasePoint Gets or sets the snap base point in DCS (Display Coordinate System)
SnapMode Gets or sets the snap mode on/off.
SnapSpacing Gets or sets the snap spacing X and Y.
ViewAspectRatio Gets or sets the view aspect ratio (view width/view height).
ViewCenter Gets or sets the view center point in DCS (Display Coordinate System)
ViewDirection Gets or sets the view direction from target point in WCS (World Coordinate System).
ViewHeight Gets or sets the view height.
ViewTarget Gets or sets the view target point in WCS (World Coordinate System).
XData Gets the entity extended data.
(Inherited from DxfObject)

Methods

Clone() Creates a new VPort that is a copy of the current instance.
(Overrides TableObject.Clone())
Clone(String) Creates a new VPort that is a copy of the current instance.
(Overrides TableObject.Clone(String))
CompareTo(Object) Compares the current TableObject with another TableObject of the same type.
(Inherited from TableObject)
CompareTo(TableObject) Compares the current TableObject with another TableObject of the same type.
(Inherited from TableObject)
Equals(Object) Check if two TableObject are equal.
(Inherited from TableObject)
Equals(TableObject) Check if two TableObject are equal.
(Inherited from TableObject)
GetHashCode Returns the hash code for this instance.
(Inherited from TableObject)
GetReferences Gets the list of DxfObjects referenced by this instance.
(Overrides TableObject.GetReferences())
GetType Gets the Type of the current instance.
(Inherited from Object)
HasReferences Checks if this instance has been referenced by other DxfObjects.
(Overrides TableObject.HasReferences())
ToString Converts the value of this instance to its equivalent string representation.
(Inherited from TableObject)

Events

NameChanged
(Inherited from TableObject)
XDataAddAppReg
(Inherited from DxfObject)
XDataRemoveAppReg
(Inherited from DxfObject)

Fields

DefaultName Default VPort name.

See Also

Reference

netDxf.Tables Namespace

Clone this wiki locally