Initializes a new instance of the CADMText object.

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

Public Sub New()
This language is not supported or no code example is available.
public CADMText()
This language is not supported or no code example is available.
<p>Creating a new CADMText object example:</p> <p>[C#]</p>
 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();				
 					

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