Some test text!

Discord Logo

Chat with us

PDFTron is now Apryse, learn more here.

Xamarin / Guides / Watermark editor (Android)

Platform


Documentation


PDFTron is now Apryse, learn more here.

Watermark Editor

A graphical UI component to allow users to create text watermarks on documents using the viewer.

Add watermarks to PDF in Xamarin

This tutorial only applies to Xamarin.Android.

The WatermarkDialog allows you to stamp a PDF document with text that overlays each page of the document.

watermark-dialog

Show the watermark editor

The watermark editor can be shown from an activity by calling the following method:

public void ShowWatermarkDialog(PDFViewCtrl pdfViewCtrl, FragmentManager fragmentManager)
{
    var fragment =pdftron.PDF.Dialog.Watermark.WatermarkDialog.NewInstance(pdfViewCtrl);
    fragment.Show(fragmentManager);
}

Get the answers you need: Support