Annotation vs RichTextAnnotation

Discussions about the development of the TechDraw workbench
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
User avatar
bensay
Posts: 202
Joined: Wed Dec 22, 2021 8:14 pm
Location: Danmark
Contact:

Annotation vs RichTextAnnotation

Post by bensay »

What is the difference between Annotation and RichTextAnnotation other than the editor? Don't they serve the same purpose and visually render the same?
User avatar
wandererfan
Veteran
Posts: 6265
Joined: Tue Nov 06, 2012 5:42 pm
Contact:

Re: Annotation vs RichTextAnnotation

Post by wandererfan »

bensay wrote: Thu Mar 30, 2023 10:21 pm What is the difference between Annotation and RichTextAnnotation other than the editor? Don't they serve the same purpose and visually render the same?
Anno was the original, stores the text as plain text, only does some elementary formatting and can't be attached to a parent view. Good for simple annotations.

RTA came later, stores the text as html, has lots of formatting options and can be attached to a parent view. Good for fancy annotations.
Post Reply