Initializes a new instance of the CADPolyLine class.

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

Public Sub New()
This language is not supported or no code example is available.
public CADPolyLine()
This language is not supported or no code example is available.
<p>Creating a new CADPolyLine object example:</p> <p>[C#]</p>
		
 	CreateNewImage();												
 	CADPolyLine poly = new CADPolyLine();
 	poly.Color = CADConst.clNone;
 	CADVertex vert;		
 	int i = 0;
 	while(i != 11)
 	{		
 		vert = new CADVertex();
 		vert.Point = GetRealPoint(100 + i*20, 100 + (i%2)*20);
 		poly.Entities.Add(vert);
 		i++;
 	}
 	poly.LineWeight = 0.1;			
 	poly.Loaded(cadImage.Converter);
 	poly.Handle = poly.GetHashCode();		
 	poly.KeyEnt = poly.Handle.ToString();	
 	cadImage.Converter.Loads(poly);
 	cadImage.Converter.OnCreate(poly);		
 	cadImage.CurrentLayout.Entities.Add(poly);				
 	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