Message 1 of 8
element.document performance with A360
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
We've written an addin that calls the element.document property many times (see code snipet for an example). I've found that when the user is using A360, the calls to element.document are rather slow (each call takes about 2 seconds). With files that don't use A360, the calls to element.document are much faster. Has anyone every delt with this problem or found a solution besides just minimizing calls to element.document? Thanks.
Snippet
Friend Function GetElementDocument(e As Element) As Document 'The following line of code takes about 2 seconds to execute when using A360. Return e.Document End Function