Foxit PDF SDK

Public Member Functions | Public Attributes | List of all members
FSDK.LayerPrintData Class Reference

## Public Member Functions
| constructor (subtype, print_state)
| Constructor, with parameters. More...
| constructor ()
| Constructor.
| Set (subtype, print_state)
| Set value. More...

## Public Attributes
| print_state
| Layer usage state, indicating that the group should be set to that state when the document is printed from a viewer application. More...
| subtype
| A string that specifies the kind of content controlled by a layer.

## Detailed Description

This class represents data for PDF layer printing usage.

## Member Function Documentation

## ◆ constructor()

FSDK.LayerPrintData.constructor | ( | subtype | ,
|  | print_state |
| ) |  |

Constructor, with parameters.

Parameters

  [in] | subtype | A string to specify the kind of content controlled by a layer.
  [in] | print_state | Layer 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.LayerTree.e_StateON and this should be one of these values except FSDK.LayerTree.e_StateUnchanged.

## ◆ Set()

FSDK.LayerPrintData.Set | ( | subtype | ,
|  | print_state |
| ) |  |

Set value.

Parameters

  [in] | subtype | A string to specify the kind of content controlled by a layer.
  [in] | print_state | Layer 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.LayerTree.e_StateON and this should be one of these values except FSDK.LayerTree.e_StateUnchanged.

Returns
  None.

## Member Data Documentation

## ◆ print_state

FSDK.LayerPrintData.print_state

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.LayerTree.e_StateON and this should be one of these values except FSDK.LayerTree.e_StateUnchanged.