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