Setting ATTRIB and MTEXT objects

Setting ATTRIB and MTEXT objects

Aspose.CAD for Java API allows you to set Attribute in a DXF AutoCAD file. Aspose.CAD API exposes CadText class that represents text entities in the DXF AutoCAD file. Class CadMText is included in the Aspose.CAD API because some other entities may also contain text. You can create several paragraphs of text as a single multi-line text (mtext) object. Following is the code demonstration of setting Attribute and MTEXT objects. The code snippet is self-explanatory.

Sample Code