Foxit PDF SDK
FoxitPDFSDKPython3.PDF3DContext Class Reference
Inheritance diagram for FoxitPDFSDKPython3.PDF3DContext:
FoxitPDFSDKPython3.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 FoxitPDFSDKPython3.Library.Initialize with a key including "3D" module.
Currently, 3D module only supports Windows.

See also
FoxitPDFSDKPython3.Library

Constructor & Destructor Documentation

◆ PDF3DContext()

def FoxitPDFSDKPython3.PDF3DContext.PDF3DContext (   other)

Constructor, with another 3d context object.

Parameters
[in]otherAnother 3d context object.

Member Function Documentation

◆ GetPage3DAnnotArray()

def FoxitPDFSDKPython3.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 FoxitPDFSDKPython3.PDFDoc.GetPageCount .
Returns
3d annot instance objects array.

◆ Invalidate()

def FoxitPDFSDKPython3.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 FoxitPDFSDKPython3.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.