Initializes a new instance of the CADLeader class.

Namespace: CADImport
Assembly: CADImport (in CADImport.dll)

Public Sub New()
This language is not supported or no code example is available.
public CADLeader()
This language is not supported or no code example is available.
<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.

.NET Framework

Supported in: 2.0 - 4, NET6

.NET Framework Client Profile

Supported in: 4, 3.5 SP1, NET6