|
This function changes the reuse
status of an application. Currently, the application processes
of only Microsoft Word, Microsoft Excel, and Microsoft PowerPoint
can be reused.
Without application reuse, each call to ImportAny starts and terminates the application
process. To avoid the overhead of the application start-up and
exit, enable the reuse of the process for the particular
application(s). The same process of that application is used in
multiple calls to ImportAny of the same
XpsImportOperation that uses the application.
The reuse status is not
changed if the process reuse of the application is not supported.
If the process is running
(for this XpsImportOperation object), the running process is
terminated when its reuse is disabled.
|