New to Telerik UI for WinFormsStart a free 30-day trial

Properties

Updated over 6 months ago
PropertyDescription
HorizontalScrollStateGets or sets the display state of the horizontal scroll bar.
VerticalScrollStateGets or sets the display state of the vertical scroll bar.
EnableThumbnailsGets or sets whether the thumbnail element is visible.
ContainerElementGets the which represents the elements container of the control.
PdfViewerElementGets the which represents the main element of the control.
AnnotationsColorGets or sets the background color of the annotations when they are pressed.
FitToWidthFit to window width
FitFullPageFit one full page to control
SelectionColorGets or sets the color that highlights the current selection.
ScaleFactorGets or sets the factor by which the document is scaled.
DocumentGets the currently loaded
ReadingModeGets or sets whether the entire document is loaded at the beginning or pages are loaded on demand.
RadContextMenuGets or sets the associated . By default this is .
ViewerModeGets or sets the current viewer mode - Pan, TextSelection or None.
BackColorRadPdfViewer consists of multiple visual elements and separate settings are provided to customize their appearance. Current BackColor property might be ignored.
ForeColorRadPdfViewer consists of multiple visual elements and separate settings are provided to customize their appearance. Current ForeColor property might be ignored.
ThumbnailListWidthGet or Set the width of the Thumbnail list
PrintScalePageToPaperSizeScale page when printing to fit the paper size without keeping the aspect ratio.
PrintOrientationSet or get the page orientation when printing.
PdfViewerElement.AllowSignatureDialogAllows you to disable the SignatureDialog and SingSignatureDialog
PdfViewerElement.AllowSignSignatureDialogAllows you to disable the document signing.
RadPdfViewerElement.AsyncRenderEnable or disable the async rendering of pages.
RadPdfViewerElement.CachePaintEnable or disable the cached painting of pages.
UseBufferedPrinting [Released in R2 2021]If true, the page will be printed in an image that will be send to the printer at once. Loss of quality is possible.

Methods

MethodDescription
SelectCreates selection from start position to end position.
PageUpNavigates to the previous page.
PageDownNavigates to the next page.
LoadDocument(string path)Loads a PDF document from a specified file name.
LoadDocument(Stream stream)Loads a PDF document from a specified stream.
UnloadDocumentUnload the current PDF document.
ShowThubnailsShow the Pdf document's thumbnails
HideThumbnailsHide the Pdf document's thumbnails
PrintDirectly prints the document to the default printer.
Print(bool showPrinterSettings)Prints the document with the parameter indicating whether printer settings dialog should be shown.
Print(bool showPrinterSettings, RadPrintDocument document)Prints the document. The first parameter indicating whether printer settings dialog should be shown. The second parameter provides an option for supplying a RadPrintDocument object controlling the printing process .
PrintPreviewShows a RadPrintPreviewDialog for editing the print settings.
PrintPreview(RadPrintDocument document)Shows a RadPrintPreviewDialog for editing the print settings with an option for a RadPrintDocument instance.

Events

As of R1 2021 RadPdfViewerElement offers the cancelable SignatureDialogShowing and SignSignatureDialogShowing events. They allow customizing or changing the signature dialogs in RadPdfViewer.

EventDescription
DocumentLoadedFires when the document has finished loading.
DataErrorFires when an internal exception in during loading parts of the document occurs. If the event is not handled, a default error message box will be shown, otherwise the message box will not show and handling the error should be done in the event handler.
AnnotationClickedFires when a link or a bookmark was clicked.
FitToWidthChangedFires when the FitToWidth property has changed.
FitFullPageChangedFires when the FitFullPage property has changed.
ScaleFactorChangedFires when the ScaleFactor property has changed.
CaretPositionChangedFires when the caret changes its position.
SelectionChangedFires when the text selection has changed.
PageElementCreatingFires when a is being created. Allows for replacing it with custom page element.
ViewerModeChangedFires when the ViewerMode property has changed.

See Also

In this article
See Also
Not finding the help you need?
Contact Support