ImageGear Java PDF
Document Class Members
Methods 

The following tables list the members exposed by Document.

Public Methods
 NameDescription
Public MethodcloseThis method closes the document currently open.  
Public Methoddelete
You don't need to call this method under normal circumstances. It is only necessary if you want to release the resource prior to garbage collection occurring. Once the object is deleted, it is no longer safe to access its members.
 
Public MethoddeletePageThis method deletes the specified page of the document. After calling this method the page numbers for the pages with larger page numbers than the deleted page are all shifted down by one page.  
Public MethodgetPageThis method gets the Page specified by the page number.  
Public MethodgetPageCountThis method returns the page count of the document.  
Public MethodinsertBlankPageOverloaded. This method inserts a blank page into the document.  
Public MethodinsertPagesThis method inserts pages from another document into the current document. If the source document is equal to the current document, then this method does not insert any pages. The inserted page(s) will be inserted starting at the specified page number, moving original pages to be after inserted page(s).  
Public MethodopenDocumentThis method opens the document from the filename specified.  
Public MethodsaveDocumentThis method saves the currently opened document to a file.  
Top
See Also

Reference

Document Class
com.accusoft.imagegearpdf Package

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback