Foxit PDF SDK
|
Public Member Functions | |
LayerPrintData (String subtype, int print_state) | |
Constructor, with parameters. More... | |
LayerPrintData () | |
Constructor. | |
LayerPrintData (LayerPrintData data) | |
Constructor, with another layer print data object. More... | |
synchronized void | delete () |
Clean up related resources immediately. More... | |
int | 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... | |
String | getSubtype () |
Get a string that specifies the kind of content controlled by a layer. More... | |
void | set (String subtype, int print_state) |
Set value. More... | |
void | setPrint_state (int 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... | |
void | setSubtype (String value) |
Set a string that specifies the kind of content controlled by a layer. More... | |
This class represents data for PDF layer printing usage.
com.foxit.sdk.pdf.LayerPrintData.LayerPrintData | ( | String | subtype, |
int | print_state | ||
) |
Constructor, with 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 com.foxit.sdk.pdf.LayerTree.e_StateON and this should be one of these values except com.foxit.sdk.pdf.LayerTree.e_StateUnchanged . |
com.foxit.sdk.pdf.LayerPrintData.LayerPrintData | ( | LayerPrintData | data | ) |
Constructor, with another layer print data object.
[in] | data | Another layer print data object. |
synchronized void com.foxit.sdk.pdf.LayerPrintData.delete | ( | ) |
Clean up related resources immediately.
com.foxit.sdk.pdf.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 com.foxit.sdk.pdf.LayerTree.e_StateON and this should be one of these values except com.foxit.sdk.pdf.LayerTree.e_StateUnchanged .
com.foxit.sdk.pdf.LayerPrintData.getSubtype | ( | ) |
Get a string that specifies the kind of content controlled by a layer.
void com.foxit.sdk.pdf.LayerPrintData.set | ( | String | subtype, |
int | print_state | ||
) |
Set value.
[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 com.foxit.sdk.pdf.LayerTree.e_StateON and this should be one of these values except com.foxit.sdk.pdf.LayerTree.e_StateUnchanged . |
com.foxit.sdk.pdf.LayerPrintData.setPrint_state | ( | int | 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 com.foxit.sdk.pdf.LayerTree.e_StateON and this should be one of these values except com.foxit.sdk.pdf.LayerTree.e_StateUnchanged .
[in] | value | Layer usage state, indicating that the group should be set to that state when the document is printed from a viewer application. |
com.foxit.sdk.pdf.LayerPrintData.setSubtype | ( | String | value | ) |
Set a string that specifies the kind of content controlled by a layer.
[in] | value | A string that specifies the kind of content controlled by a layer. |