New to Telerik Document ProcessingStart a free 30-day trial

Named Actions

Updated on Feb 19, 2026
Minimum VersionQ1 2025

RadPdfProcessing provides support for Named actions that PDF viewer applications are expected to support. The NamedAction class offers the public Type property which specifies the type of the action representing the menu item to be executed.

The available Standard NamedActionType options are listed in the table below.

The PDF viewer applications are expected to support the standard name actions. Further names may be added as well but it is not guaranteed that all PDF viewers would support the NonStandard actions:

Standard Names ActionsDescription
NextPageGo to the next page of the document.
PrevPageGo to the previous page of the document.
FirstPageGo to the first page of the document.
LastPageGo to the last page of the document.

Viewer applications may support additional, nonstandard named actions, but any document using them is not portable. If a viewer (e.g. Adobe Acrobat, RadPdfViewer or a web browser) encounters a named action that is inappropriate for a viewing platform, or if the viewer does not recognize the name, it should take no action.

RadPdfProcessing offers support for the following NonStandard Named actions as well:

NonStandard Named ActionsDescription
PrintPrint the current document.
SaveAsSave the current document as a new file.
FindFind text within the document.
FindSearchPerform a search operation within the document.
CloseClose the current document or viewer.
GoToPageGo to a specific page within the document.
GoBackNavigate back to the previous location.
GoForwardNavigate forward to the next location.
SinglePageDisplay the document in single-page view mode.
TwoPagesDisplay the document in two-page view mode.
OneColumnDisplay the document in one-column layout mode.
ActualSizeShow the document at its actual size.
FitPageFit the document page within the viewer.
FitWidthFit the document width within the viewer.
FitHeightFit the document height within the viewer.
FitVisibleFit the visible content of the page within the viewer.
ZoomToZoom to a specified level.
FullScreenModeEnter full-screen mode.
ShowHideArticlesShow or hide articles within the document.
ShowHideFileAttachmentShow or hide file attachments.
ShowHideBookmarksShow or hide bookmarks.
ShowHideOptContShow or hide optional content.
ShowHideModelTreeShow or hide the model tree.
ShowHideThumbnailsShow or hide page thumbnails.
ShowHideSignaturesShow or hide digital signatures.
GeneralPrefsOpen general preferences for the viewer.
GeneralInfoDisplay general information about the document.
QuitExit the viewer application.
FindCurrentBookmarkFind the currently selected bookmark.
BookmarkShowLocationShow the location associated with a bookmark.
ZoomViewInZoom in the view.
ZoomViewOutZoom out the view.
HelpReaderOpen the help documentation for the reader.
TwoColumnsDisplay the document in two-column layout mode.
HandMenuItemActivate the hand tool menu item.
ZoomDragMenuItemActivate the zoom drag tool menu item.
ScanInitiate a scan operation.

Adding a Named Action to a PushButtonField

The following example demonstrates how to create a PDF document with a PushButtonField which triggers a printing action when the document is displayed in a viewer and the button is pressed by the end-user:

c#
PushButtonField pushButtonField = new PushButtonField("SamplePushButton");

PushButtonWidget widget = pushButtonField.Widgets.AddWidget();
widget.Rect = new Rect(10, 10, 250, 50);
widget.HighlightingMode = HighlightingMode.InvertBorderOfAnnotationRectangle;

NamedAction printAction = new NamedAction(NamedActionType.Print);
widget.Actions.MouseUp.Add(printAction);

widget.AppearanceCharacteristics.Background = new RgbColor(123, 165, 134);
widget.AppearanceCharacteristics.NormalCaption = "Print";

widget.TextProperties.FontSize = 20;
widget.TextProperties.Font = FontsRepository.Courier;
widget.TextProperties.Fill = new RgbColor(0, 0, 0);
widget.RecalculateContent();

RadFixedDocument fixedDocument = new RadFixedDocument();
fixedDocument.Pages.AddPage();
fixedDocument.AcroForm.FormFields.Add(pushButtonField);
fixedDocument.Pages[0].Annotations.Add(widget);

Print Named Action

In .NET Standard/.NET (Target OS: None) environments, fonts beyond the 14 standard ones require a FontsProvider implementation to be resolved correctly.

See Also