Line.Line(Point3d, Point3d) Constructor

Description

This constructor initializes the line object to use pointer1 as the start point, and pointer2 as the endpoint. Both points must be in WCS coordinates.

Visual Basic

Public Sub New(
    pointer1 As Point3d, 
    pointer2 As Point3d
)

C#

public Line(
    Point3d pointer1, 
    Point3d pointer2
);

Parameters

Parameters Description
Point3d pointer1 Input line start point (WCS coordinates)
Point3d pointer2 Input line end point (WCS coordinates)

Links

Line Class, Autodesk.AutoCAD.DatabaseServices Namespace