Initializes a new instance of the 
CADMText object.
        
Namespace:
CADImport
        Assembly: CADImport (in CADImport.dll)
Syntax
	
	
	  
		  
			  
		      | Visual Basic (Declaration) | 
		    
		    
		      Public Sub New()  | 
		    
		  
		
		
		
			
		
		
		
		
	 
 
	
		
		
		Example
	
<p>Creating a new 
CADMText object example:</p>
<p>
[C#]</p>	
|   |  Copy Code | 
|---|
 CreateNewImage();						
 CADMText mText = new CADMText();
 Point p1 = new Point(100, 100);
 mText.Point = GetRealPoint(p1.X, p1.Y);
 mText.Text = AddEntityOptions.AddNewMTextString("Any Text", "NewMText1", new Font("Arial.ttf", 5), 1);				
 mText.LineWeight = 0.1;
 mText.Angle = 0.0f;
 mText.Color = CADConst.clNone; 																		
 mText.Layer = cadImage.Converter.Layers[0] as CADLayer;						
 mText.Handle = mText.GetHashCode();		
 mText.KeyEnt = mText.Handle.ToString();	
 cadImage.Converter.Loads(mText);
 cadImage.Converter.OnCreate(mText);		
 cadImage.CurrentLayout.Entities.Add(mText);				
 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