Initializes a new instance of the 
CADEllipse class.
        
Namespace:
CADImport
        Assembly: CADImport (in CADImport.dll)
Syntax
	
	
	  
		  
			  
		      | Visual Basic (Declaration) | 
		    
		    
		      Public Sub New()  | 
		    
		  
		
		
		
			
		
		
		
		
	 
 
	
		
		
		Example
	
<p>Creating a new 
CADEllipse object example:</p>
<p>[C#]</p>
|   |  Copy Code | 
|---|
		
 	CreateNewImage();
 	CADEllipse ellipse = new CADEllipse();
 	ellipse.Color = CADConst.clNone;						
 	DPoint pt1 = GetRealPoint(100, 100);
 	DPoint pt2 = GetRealPoint(300, 300);
 	double dX = (pt2.X - pt1.X) / 2;
 	double dY = (pt2.Y - pt1.Y) / 4;
 	CADEllipse ell = new CADEllipse();
 	ellipse.Point = new DPoint(pt1.X + dX, pt1.Y + dY, 0);
 	ellipse.RadPt = new DPoint((pt2.X - pt1.X) / 2, (pt2.Y - pt2.Y) / 2, 0);
 	ellipse.Ratio = dY / dX;
 	ellipse.LineWeight = 0.1;
 	ellipse.StartParam = 360.0;
 	ellipse.EndParam = 0.0;
 	ellipse.LineWeight = 0.1;						
 	ellipse.Loaded(cadImage.Converter);			
 	ellipse.Handle = ellipse.GetHashCode();		
 	ellipse.KeyEnt = ellipse.Handle.ToString();			
 	cadImage.CurrentLayout.Entities.Add(ellipse);
 	cadImage.Converter.OnCreate(ellipse);		
 	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