Thank you, I have solved this problem. The existing API does not have a way to directly solve my problem. My idea is the same as yours. I need to get the height of each annotated text. I need to pay attention to whether the text is on the left or right, top or bottom, otherwise there will be errors.
I think he means the outline of the view. Use the method GetOutline…