CreatePoint method 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