TechDraw NewAnnotation

Description
The Annotation tool adds a text block to a drawing page.



How to use

 * 1) If you have multiple drawing pages in your document, you will need to select the desired page in the tree.
 * 2) Press the  button
 * 3) A text block containing "Default Text" will appear on the page.  Use the property editor to change the text. Drag the Annotation to the required position.
 * 4) You may need to press recompute  [[Image:View-rotate-right.png|32px]] to get your text to change.



some characters interfere with the internal representation of the Annotation text. Specifically, these are the double quote, less than , and greater than symbols; these must be replaced by HTML escape characters, , , and  respectively. See Character encodings in HTML for details.

Properties
The Annotation inherits all applicable basic View properties except. Use the property instead.


 * : The text to be displayed.
 * : The name of the font to use. Annotation will use the best match of installed fonts.
 * : The color of the text.
 * : The size of the text in mm.
 * : The maximum width of the Annotation block. -1 indicates no maximum width.
 * : Line spacing adjustment (%).
 * : "Normal", "Bold", "Italic", "Bold-Italic"

Scripting
TechDraw API and FreeCAD Scripting Basics.

The New Annotation tool can be used in macros and from the Python console by using the following functions: