Some test text!

menu

Rotate pages dialog

This tutorial only applies to Xamarin.Android.

The RotateDialogFragment allows users to rotate pages of the opened document by 90, 180 and 270 degrees. It also displays a thumbnail of the current page at the selected rotation angle.

Rotate pages

linkShow rotate page dialog

To show a rotate pages dialog in your activity, create a new instance of RotateDialogFragment by calling newInstance() and setting the PDFViewCtrl:

public void showRotateDialog()
{
    pdftron.PDF.Dialog.RotateDialogFragment.NewInstance()
        .SetPdfViewCtrl(mPdfViewCtrl)
        .Show(this.SupportFragmentManager, "rotate_pages_dialog");
}

Get the answers you need: Support

close

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.

Join our live demo to learn about use cases & capabilities for WebViewer

Learn more
close