Some test text!

platform
search

OCG layer browser

Contents

Show the OCG layer browser

PDF OCG (Optional Content Groups) dictionary represents a collection of graphic objects that can be made visible or invisible. Any graphic content of the PDF can be made optional, including page contents, XObjects, and annotations.

The PdfLayerDialog allows you to browse OCG layers associated with the document. You can selectively render layers based on their states.

linkShow the OCG layer browser

public void show(Context context, PDFViewCtrl pdfViewCtrl) {
    PdfLayerDialog pdfLayerDialog = new PdfLayerDialog(
        context, pdfViewCtrl);
    pdfLayerDialog.show();
}
public void Show(Context context, PDFViewCtrl pdfViewCtrl) {
    var pdfLayerDialog = new PdfLayerDialog(
        context, pdfViewCtrl);
    pdfLayerDialog.Show();
}

Get the anwsers you need: Support

Contents

Show the OCG layer browser