Removes the specified document, freeing up memory.
Quick PDF Library will always ensure that there is at least one document loaded at all times.
In version 7.18 and earlier, it was only possible to remove a document if there were at least two documents loaded.
From version 7.19 this function will always succeed. If the specified document was the only loaded document it will be removed and replaced with a new blank document.
function TDebenuPDFLibrary1511.RemoveDocument(DocumentID: Integer): Integer;
Function DebenuPDFLibrary1511.PDFLibrary::RemoveDocument(DocumentID As Long) As Long
int DPLRemoveDocument(int InstanceID, int DocumentID)
|DocumentID||The ID of the document to remove|
|0||The specified document does not exist or could not be removed.|
|1||The specified document was removed successfully|