![]() Whether you’re creating a Text or an MText object, often you will want to specify the font that will define how text characters are shaped. Word-wrap is used to break the text into lines when the boundary is reached. ![]() The bounding box not only defines the height of the text but also limits the amount of text placed on each line. The MText object is created by calling the AddMText method it, too, has three parameters-the position for the first character, the width of the bounding box, and the text string itself. The Text object is created by calling the AddText method, which has three parameters-text to be drawn, the position for the bottom-left corner of the first character, and the height of the text. These two objects are called the Text object and the MText object, and are created by calling the AddText and AddMText methods. There are two types of text objects the one used depends on whether the text string is to be displayed on a single line or over multiple lines. In this section we’ll consider text for providing such things as titles of drawings, and informative notes providing, for example, the name of the person who created or edited the drawing, the date created or updated, and the drawing’s scale. Almost every drawing you create will contain text of some sort.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |