Foxit PDF SDK
|
Public Member Functions | |
PDF3DContext (PDFDoc doc) throws com.foxit.sdk.PDFException | |
Constructor, with a PDF document object. | |
PDF3DContext (PDF3DContext other) | |
Constructor, with another 3d context object. More... | |
synchronized void | delete () |
Clean up related resources immediately. More... | |
PDF3DAnnotInstanceArray | getPage3DAnnotArray (int page_index) |
Get 3d annot instance objects array by page index. More... | |
void | invalidate () |
Refresh 3D Objects. More... | |
boolean | isEmpty () |
Check whether current object is empty or not. More... | |
![]() | |
synchronized void | delete () |
Clean up related resources immediately. More... | |
This class represents a 3D PDF context. Before using any class or methods in this module, please ensure Foxit PDF SDK has been initialized successfully by function common.Library.initialize with a key including "3D" module.
Currently, 3D module only supports Windows.
com.foxit.sdk.addon.pdf3d.PDF3DContext.PDF3DContext | ( | PDF3DContext | other | ) |
Constructor, with another 3d context object.
[in] | other | Another 3d context object. |
synchronized void com.foxit.sdk.addon.pdf3d.PDF3DContext.delete | ( | ) |
Clean up related resources immediately.
PDF3DAnnotInstanceArray com.foxit.sdk.addon.pdf3d.PDF3DContext.getPage3DAnnotArray | ( | int | page_index | ) |
Get 3d annot instance objects array by page index.
[in] | page_index | Page index. Valid range: from 0 to (page_count-1). page_count is returned by function pdf.PDFDoc.getPageCount . |
void com.foxit.sdk.addon.pdf3d.PDF3DContext.invalidate | ( | ) |
Refresh 3D Objects.
To dynamically display 3D effects, it is necessary to modify the interface based on loop calls.
boolean com.foxit.sdk.addon.pdf3d.PDF3DContext.isEmpty | ( | ) |
Check whether current object is empty or not.
When the current object is empty, that means current object is useless.