New to Telerik Document ProcessingStart a free 30-day trial

Named Actions

Updated on Jun 3, 2026
Minimum VersionQ1 2025

RadPdfProcessing supports Named actions that PDF viewer applications are expected to support. The NamedAction class offers the public Type property that specifies the type of the action representing the menu item to execute.

The following table lists the available Standard NamedActionType options.

PDF viewer applications are expected to support the standard named actions. Additional names can be added, but not all PDF viewers support the NonStandard actions.

Standard Named 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 (for example, 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 takes no action.

RadPdfProcessing also supports the following NonStandard NamedAction types:

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 that triggers a printing action when displayed in a viewer and the user presses the button:

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 result showing a button that triggers the print dialog

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

See Also