Some test text!


OCG layer browser


Show the OCG layer browser
This tutorial only applies to Xamarin.Android.

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) {
    var pdfLayerDialog = new PdfLayerDialog(
        context, pdfViewCtrl);

Get the anwsers you need: Support


Show the OCG layer browser