Foxit PDF SDK
FoxitPDFSDKPython2.PDF3DContext Class Reference
Inheritance diagram for FoxitPDFSDKPython2.PDF3DContext:
FoxitPDFSDKPython2.Base

Public Member Functions

def PDF3DContext (doc)
 Constructor, with a PDF document object.
 
def PDF3DContext (other)
 Constructor, with another 3d context object. More...
 
def GetPage3DAnnotArray (page_index)
 Get 3d annot instance objects array by page index. More...
 
def Invalidate ()
 Refresh 3D Objects. More...
 
def IsEmpty ()
 Check whether current object is empty or not. More...
 

Detailed Description

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 FoxitPDFSDKPython2.Library.Initialize with a key including "3D" module.
Currently, 3D module only supports Windows.

See also
FoxitPDFSDKPython2.Library

Constructor & Destructor Documentation

◆ PDF3DContext()

def FoxitPDFSDKPython2.PDF3DContext.PDF3DContext (   other)

Constructor, with another 3d context object.

Parameters
[in]otherAnother 3d context object.

Member Function Documentation

◆ GetPage3DAnnotArray()

def FoxitPDFSDKPython2.PDF3DContext.GetPage3DAnnotArray (   page_index)

Get 3d annot instance objects array by page index.

Parameters
[in]page_indexPage index. Valid range: from 0 to (page_count-1). page_count is returned by function FoxitPDFSDKPython2.PDFDoc.GetPageCount .
Returns
3d annot instance objects array.

◆ Invalidate()

def FoxitPDFSDKPython2.PDF3DContext.Invalidate ( )

Refresh 3D Objects.

To dynamically display 3D effects, it is necessary to modify the interface based on loop calls.

Returns
None.

◆ IsEmpty()

def FoxitPDFSDKPython2.PDF3DContext.IsEmpty ( )

Check whether current object is empty or not.

When the current object is empty, that means current object is useless.

Returns
true means current object is empty, while false means not.