Crop page dialog

This tutorial only applies to Xamarin.Android.

Using the crop page dialog in Xamarin.Android is identical to using UserCropDialogFragment in Android. See tutorial here.

For example, the equivalent of the example provided in the Android guide will be:

// set page box
mPdfViewCtrl.SetPageBox(pdftron.PDF.Page.Box.e_user_crop);

// show crop page dialog
var userCropDialogFragment = pdftron.PDF.Controls.UserCropDialogFragment.NewInstance()
    .SetPdfViewCtrl(mPdfViewCtrl);
userCropDialogFragment.SetStyle((int)DialogFragmentStyle.NoTitle, Resource.Style.CustomAppTheme);
userCropDialogFragment.Show(this.SupportFragmentManager, "user_crop_pages_dialog");