Foxit PDF SDK
fsdk.LayerPrintData Class Reference

Public Member Functions

def GetPrint_state ()
 Get layer usage state, indicating that the group should be set to that state when the document is printed from a viewer application. More...
 
def GetSubtype ()
 Get a string that specifies the kind of content controlled by a layer. More...
 
def Set (subtype, print_state)
 Set value. More...
 
def SetPrint_state (value)
 Set layer usage state, indicating that the group should be set to that state when the document is printed from a viewer application. More...
 
def SetSubtype (value)
 Set a string that specifies the kind of content controlled by a layer. More...
 

Detailed Description

This class represents data for PDF layer printing usage.

Member Function Documentation

◆ GetPrint_state()

fsdk.LayerPrintData.GetPrint_state ( )

Get 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 fsdk.LayerTreeE_StateON and this should be one of these values except fsdk.LayerTreeE_StateUnchanged .

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

◆ GetSubtype()

fsdk.LayerPrintData.GetSubtype ( )

Get a string that specifies the kind of content controlled by a layer.

Returns
A string that specifies the kind of content controlled by a layer.

◆ Set()

def fsdk.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 fsdk.LayerTreeE_StateON and this should be one of these values except fsdk.LayerTreeE_StateUnchanged .
Returns
None.

◆ SetPrint_state()

fsdk.LayerPrintData.SetPrint_state (   value)

Set 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 fsdk.LayerTreeE_StateON and this should be one of these values except fsdk.LayerTreeE_StateUnchanged .

Parameters
[in]valueLayer usage state, indicating that the group should be set to that state when the document is printed from a viewer application.
Returns
None.

◆ SetSubtype()

fsdk.LayerPrintData.SetSubtype (   value)

Set a string that specifies the kind of content controlled by a layer.

Parameters
[in]valueA string that specifies the kind of content controlled by a layer.
Returns
None.