Question
Changing document size on opening AI file
Hi,
I need to set the document size dynamically when opening AI files. AIDocumentSuite::SetDocumentSetup should do it. But the problem is SetDocumentSetup can be called only before the document is opened.
The call has failed in both kAIDocumentOpenedNotifier and kAIFileFormatDocumentOpenedNotifier that are sent to my plugin after the document is fully opened. I cannot find any notifier in which the call would succeed.
Any help is greatly appreciated!
John
I need to set the document size dynamically when opening AI files. AIDocumentSuite::SetDocumentSetup should do it. But the problem is SetDocumentSetup can be called only before the document is opened.
The call has failed in both kAIDocumentOpenedNotifier and kAIFileFormatDocumentOpenedNotifier that are sent to my plugin after the document is fully opened. I cannot find any notifier in which the call would succeed.
Any help is greatly appreciated!
John