| java.lang.Object | |
| ↳ | com.pdftron.pdf.dialog.pdflayer.PdfLayerUtils |
Utility for PDF layer.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| PdfLayerUtils() | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| static boolean |
getChecked(PDFViewCtrl pdfViewCtrl, Group group)
Gets the checked state of the OCG layer group.
| ||||||||||
| static ArrayList<PdfLayer> |
getLayers(PDFViewCtrl pdfViewCtrl, PDFDoc pdfDoc)
Gets the ordered OCG layer.
| ||||||||||
| static boolean | hasPdfLayer(PDFDoc doc) | ||||||||||
| static boolean | hasPdfLayer(PDFViewCtrl pdfViewCtrl) | ||||||||||
| static void |
setLayerCheckedChange(PDFViewCtrl pdfViewCtrl, Group group, boolean checked)
Sets the checked state of the OCG layer group.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Gets the checked state of the OCG layer group.
| pdfViewCtrl | the PDFViewCtrl |
|---|---|
| group | the PDFDoc |
| PDFNetException |
|---|
Gets the ordered OCG layer.
| pdfViewCtrl | the PDFViewCtrl |
|---|---|
| pdfDoc | the PDFDoc |
| PDFNetException |
|---|
Sets the checked state of the OCG layer group.
| pdfViewCtrl | the PDFViewCtrl |
|---|---|
| group | the OCG group |
| checked | true if layer is checked, false otherwise |
| PDFNetException |
|---|