Hi,
How do you get the custom annotation of a selected span?
For example:
Suppose my select range covers the last span which contains the text "Dishwasher".
From the selection, how can I retrieve it's annotation programmatically?
Thank you for your time,
Rob
How do you get the custom annotation of a selected span?
For example:
<
t:Paragraph
>
<
custom1:SemanticRangeStart
AnnotationID
=
"1"
Name
=
"SemanticRange 0"
/>
<
t:Span
FontFamily
=
"Segoe UI"
FontSize
=
"14"
FontStyle
=
"Normal"
FontWeight
=
"Normal"
Text
=
"Appliances: "
/>
<
custom1:SemanticRangeEnd
AnnotationID
=
"1"
/>
<
custom1:SemanticRangeStart
AnnotationID
=
"2"
Name
=
"SemanticRange 1"
/>
<
t:Span
FontFamily
=
"Segoe UI"
FontSize
=
"14"
FontStyle
=
"Normal"
FontWeight
=
"Normal"
Text
=
"Dishwasher"
/>
<
custom1:SemanticRangeEnd
AnnotationID
=
"2"
/>
</
t:Paragraph
>
Suppose my select range covers the last span which contains the text "Dishwasher".
From the selection, how can I retrieve it's annotation programmatically?
Thank you for your time,
Rob