TechDraw NewAnnotation/en

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.



Options
None.

Properties
ADD_PROPERTY_TYPE(Text ,("Default Text"),vgroup,App::Prop_None,"The text to be displayed"); ADD_PROPERTY_TYPE(Font ,(fontName.c_str),vgroup,App::Prop_None, "The name of the font to use"); ADD_PROPERTY_TYPE(TextColor,(0.0f,0.0f,0.0f),vgroup,App::Prop_None,"The color of the text");


 * : 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"

Note: Annotation inherits all applicable basic View properties except Scale. Use the TextSize property instead.

Scripting
Sections can be added to Pages using Python.