what is the difference between new Point and new PointClass

380
0
04-22-2013 06:01 PM
HailiangShen
New Contributor
Dear Developers,
I am extending ArcObject with .NET. I am not sure what is the difference between the following two sentences:

Dim pt as IPoint = new Point
Dim pt2 as IPoint = new PointClass

From the intelisense prompt I can only see Point but not PointClass. In this case, do I have to add Class manually every time I define new CoClass? That will be painful. Also, when I use new Point, it works without any problem.

Thanks for your clarification,

Hailiang
0 Kudos
0 Replies