Some test text!

Loading...
Guides
Show/hide layers

OCG layer browser

PDFTron SDK allows you to browse OCG layers associated with the document.

Show or hide PDF layers in Xamarin.Android

This tutorial only applies to Xamarin.Android. See the Xamarin.iOS equivalent here .

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

layer-browser

Show the OCG layer browser

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

Get the answers you need: Support