Releases the Document instance from memory.
[Visual Basic]
Public Sub Dispose()
[C#]
public void Dispose();
Calling Dispose() on the Document object disposes of all objects contained in that Document object. Therefore, it is necessary to remove any items which will still need to be used prior to calling the Dispose() method. Similarly, to obtain access to any Pages in the Document object's Pages collection, those Pages need to be removed from the Pages collection prior to calling the Dispose() method of the Document object.
Document Class | Document Members
Copyright © 2004-2005 Data Dynamics, Ltd. All rights reserved.