Hi
I have a specific requirement that involves removing a number of annotation ranges at a time. The only way I can see of doing this is via the Document "Delete" commands to remove them one at a time (some of these are read only ranges, so I can't just create a selection across them all and Delete the selection).
I've stepped through the code and the process of removing these individually called "EnsureDocumentArrangedAndMeasured" after each one is removed, which for a large file absolutely kills the performance. Is there any way I can improve this?
Thanks
Charlie
I have a specific requirement that involves removing a number of annotation ranges at a time. The only way I can see of doing this is via the Document "Delete" commands to remove them one at a time (some of these are read only ranges, so I can't just create a selection across them all and Delete the selection).
I've stepped through the code and the process of removing these individually called "EnsureDocumentArrangedAndMeasured" after each one is removed, which for a large file absolutely kills the performance. Is there any way I can improve this?
Thanks
Charlie