Some test text!

menu
Show/hide layerskeyboard_arrow_down

Selectively browse PDF OCG layers in Android

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

layer-browser

linkShow the OCG layer browser

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

Get the answers you need: Support

close

Free Trial

Get unlimited trial usage of PDFTron SDK to bring accurate, reliable, and fast document processing capabilities to any application or workflow.

Select a platform to get started with your free trial.

Unlimited usage. No email address required.

Join our upcoming webinar to learn about how to collaborate on videos frame by frame directly in your browser

Save your seat
close