Foxit PDF SDK
FoxitPDFSDKPython2.LayerPrintData Class Reference

Inherits FoxitPDFSDKPython2._object.

Public Member Functions

def LayerPrintData (subtype, print_state)
 Constructor, with parameters. More...
 
def Set (subtype, print_state)
 Set value. More...
 

Static Public Attributes

 print_state = _swig_property(_fsdk.LayerPrintData_print_state_get, _fsdk.LayerPrintData_print_state_set)
 Layer usage state, indicating that the group should be set to that state when the document is printed from a viewer application. More...
 
 subtype = _swig_property(_fsdk.LayerPrintData_subtype_get, _fsdk.LayerPrintData_subtype_set)
 A string that specifies the kind of content controlled by a layer.
 

Detailed Description

This class represents data for PDF layer printing usage.

Constructor & Destructor Documentation

◆ LayerPrintData()

def FoxitPDFSDKPython2.LayerPrintData.LayerPrintData (   subtype,
  print_state 
)

Constructor, with parameters.

Constructor, with another layer print data object.

Constructor.

Parameters
[in]subtypeA string to specify the kind of content controlled by a layer.
[in]print_stateLayer usage state, indicating that the layer should be set to that state when the document is printed from a viewer application. Please refer to values starting from FoxitPDFSDKPython2.LayerTree.e_StateON and this should be one of these values except FoxitPDFSDKPython2.LayerTree.e_StateUnchanged .
[in]dataAnother layer print data object.

Member Function Documentation

◆ Set()

def FoxitPDFSDKPython2.LayerPrintData.Set (   subtype,
  print_state 
)

Set value.

Parameters
[in]subtypeA string to specify the kind of content controlled by a layer.
[in]print_stateLayer usage state, indicating that the layer should be set to that state when the document is printed from a viewer application. Please refer to values starting from FoxitPDFSDKPython2.LayerTree.e_StateON and this should be one of these values except FoxitPDFSDKPython2.LayerTree.e_StateUnchanged .
Returns
None.

Member Data Documentation

◆ print_state

FoxitPDFSDKPython2.LayerPrintData.print_state = _swig_property(_fsdk.LayerPrintData_print_state_get, _fsdk.LayerPrintData_print_state_set)
static

Layer usage state, indicating that the group should be set to that state when the document is printed from a viewer application.

Please refer to values starting from FoxitPDFSDKPython2.LayerTree.e_StateON and this should be one of these values except FoxitPDFSDKPython2.LayerTree.e_StateUnchanged .