Initializes a new instance of the
CADPoint class.
Namespace:
CADImport
Assembly: CADImport (in CADImport.dll)
Syntax
Visual Basic (Declaration) |
Public Sub New() |
Example
<p>Creating a new
CADPoint object example:</p>
<p>
[C#]
</p>
| Copy Code |
---|
CreateNewImage();
Point p1 = new Point(200, 200);
CADPoint point = new CADPoint();
point.Color = CADConst.clNone;
point.Point = GetRealPoint(p1.X, p1.Y);
point.LineWeight = 0.1;
cadImage.Converter.OnCreate(point);
point.Handle = point.GetHashCode();
point.KeyEnt = point.Handle.ToString();
cadImage.Converter.OnCreate(point);
cadImage.CurrentLayout.Entities.Add(point);
EditorCADPictureBox.Invalidate();
|
Platforms
Version Information
.NET Framework
Supported in: 2.0 - 4, NET6
.NET Framework Client Profile
Supported in: 4, 3.5 SP1
See Also