IntelliCAD 11.1 Object Library
CreatePoint Method
See Also 
X1
The x coordinate of the point.
Y1
The y coordinate of the point.
Z1
The z coordinate of the point.
Library Object : CreatePoint Method

Description

Creates a new Point object.

Syntax

Visual Basic
Public Function CreatePoint( _
   Optional ByVal X1 As Double = 0, _
   Optional ByVal Y1 As Double = 0, _
   Optional ByVal Z1 As Double = 0 _
) As Point

Parameters

X1
The x coordinate of the point.
Y1
The y coordinate of the point.
Z1
The z coordinate of the point.

Example

Private Sub GetCornerExample()

     ' This example creates a point using the CreatePoint method.

     Dim icadDoc As IntelliCAD.Document

     Dim myPoint As IntelliCAD.Point

     Set icadDoc = ActiveDocument

     Set myPoint = Library.CreatePoint(4, 2)

     MsgBox "Point created at 4,2."

End Sub

See Also

© 2022 IntelliCAD Technology Consortium. All Rights Reserved.