Initializes a new instance of the
CADCircle class.
Namespace:
CADImport
Assembly: CADImport (in CADImport.dll)
Syntax
Visual Basic (Declaration) |
Public Sub New() |
Example
<p>Creating a new
CADCircle object example:</p>
<p>[C#]</p>
| Copy Code |
---|
CreateNewImage();
CADCircle circle = new CADCircle();
circle.Color = CADConst.clNone;
circle.Point = GetRealPoint(300, 300);
circle.Radius = 10;
circle.LineWeight = 0.1;
circle.Loaded(cadImage.Converter);
circle.Handle = circle.GetHashCode();
circle.KeyEnt = circle.Handle.ToString();
cadImage.CurrentLayout.Entities.Add(circle);
cadImage.Converter.OnCreate(circle);
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