In using Aspose Word after I save a document using is there any way I can make sure that the handle for a file is released, like a Document Close command or something.
Aspose i guess does not release the handle of the file immediately?
If you pass a file name, then the Document class opens and closes the file automatically. The Document class opens the file in the constructor, loads it fully into memory and closes it. Also, the Document class creates a file when you call Save and then closes it when Save returns.
If you pass a Stream object to load or save a document, then Aspose.Word does not close the stream as it regards that your code "owns" the stream.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.