I need to identify the annotation a stacked annotation is the child of.
I tried the alignedAnnotation property of the annotations AssociativeOriginData but this is always null.
Annotation.AssociativeOriginData assocOrigin = childNote.getAssociativeOrigin(); Annotation parentNote = assocOrigin.alignedAnnotation; //null!!!
ideas / suggestions are welcome
Solved! Go to Solution.
Thanks to all who bothered to read my question.
I used Annotation.AssociativeOriginData.offsetAnnotation to set the parent of the stacked annotation (which is completely right) and mistakenly used Annotation.AssociativeOriginData.alignedAnnotation to query it later (completely nonsens).