RemoveDocument

문서 관리

설명

지정한 문서를 제거하고 메모리를 해제함

PDF Library는 항상 하나 이상의 문서가 로드된 상태를 보장합니다

지정한 문서가 유일하게 로드된 문서이면 제거되고 새 빈 문서로 대체됩니다

구문

Delphi

Function TPDFlib.RemoveDocument(DocumentID: Integer): Integer;

ActiveX

Function PDFlib::RemoveDocument(DocumentID As Long) As Long

DLL

int DLRemoveDocument(int InstanceID, int DocumentID);

매개변수

DocumentID제거할 문서의 ID

반환 값

0지정한 문서가 없거나 제거할 수 없습니다
1지정된 문서가 성공적으로 제거되었습니다