Some test text!


Selectively browse PDF OCG layers in Xamarin

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.


Show the OCG layer browser

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

Get the answers you need: Support


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.