Initializes a new instance of the CADLine class.

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

Public Sub New()
This language is not supported or no code example is available.
public CADLine()
This language is not supported or no code example is available.
<p>Creating a new CADLine object example:</p> <p>[C#]</p>
		
 	CreateNewImage();
 	CADLine ln1 = new CADLine();
 	ln1.Color = CADConst.clNone;
 	ln1.Point = GetRealPoint(100, 100);
 	ln1.Point1 = GetRealPoint(300, 300);
 	ln1.LineWeight = 0.1;						
 	ln1.Loaded(cadImage.Converter);			
 	ln1.Handle = ln1.GetHashCode();		
 	ln1.KeyEnt = ln1.Handle.ToString();			
 	cadImage.CurrentLayout.Entities.Add(ln1);
 	cadImage.Converter.OnCreate(ln1);		
 	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