/*
Returns:
Raw text that can contain rich text formatting instructions.
Fields are not evaluated.
*/
const ON_wString RichText() const;
/*
Returns:
Plain text information with any rich text formatting instructions removed.
The result string from evaluating fields is included
Field results may be cached from previous evaluation /
const ON_wString PlainText() const;
/
Same as PlainText() but separated wrapped run lines with ‘\n’ for soft return
and ‘\r’‘\n’ for hard returns
*/
const ON_wString WrappedPlainText() const;
/*
Returns:
Plain text information with any rich text formatting instructions removed.
Fields are not evaluated /
const ON_wString PlainTextWithFields() const;
/
Same as PlainTextWithFields() but separated wrapped run lines with ‘\n’ for soft return
and ‘\r’‘\n’ for hard returns
*/
const ON_wString WrappedPlainTextWithFields() const;
For getting curve used by a leader, there is:
const ON_NurbsCurve* ON_Leader::Curve(const ON_DimStyle* dimstyle) const;
The properties of annotations are controlled by the parent dimstyle and any overrides that have been applied to the individual annotation.
The parent dimstyle is used for any properties that haven’t been overridden, so it should be whatever style you want to use to control how the annotation looks.