Initializes a new instance of the CADLeader class.
Namespace:
CADImport
Assembly: CADImport (in CADImport.dll)
Assembly: CADImport (in CADImport.dll)
<p>Creating a new CADLeader object example:</p>
<p>[C#]</p>
CreateNewImage(); CADLeader leader = new CADLeader(); leader.Color = CADConst.clNone; leader.ArrowSize = 3.5f; leader.Arrowhead = true; leader.ArrowScale = 1.0f; DPoint pt1 = GetRealPoint(100, 100); DPoint pt2 = GetRealPoint(500, 500); leader.Controls.Add(pt1); leader.Controls.Add(pt2); leader.LineWeight = 0.1; leader.Loaded(cadImage.Converter); leader.Handle = leader.GetHashCode(); leader.KeyEnt = leader.Handle.ToString(); cadImage.Converter.OnCreate(leader); cadImage.CurrentLayout.Entities.Add(leader); EditorCADPictureBox.Invalidate();
Windows NT 4.0, Windows 98, Windows XP, Windows Server 2003, Windows Vista; Windows Server 2008 R2, Windows 7, WIndows10
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.