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

Represents a PDF viewer control that provides functionality for displaying, interacting with, and manipulating PDF documents in a WPF application. This class inherits from FixedDocumentViewerBase and includes features such as key bindings for navigation, document source management, and signature validation properties.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.FixedDocumentViewers.dll

Syntax:

C#
[TelerikToolboxCategory("Documents")]
public class RadPdfViewer : FixedDocumentViewerBase, IFixedDocumentViewer

Inheritance: objectFixedDocumentViewerBaseRadPdfViewer

Implements: IFixedDocumentViewer

Inherited Members FixedDocumentViewerBase.ScaleModePropertyFixedDocumentViewerBase.DocumentPropertyFixedDocumentViewerBase.CommandDescriptorsPropertyFixedDocumentViewerBase.ScaleFactorPropertyFixedDocumentViewerBase.ModePropertyFixedDocumentViewerBase.CurrentPageNumberPropertyFixedDocumentViewerBase.SelectionFillPropertyFixedDocumentViewerBase.OnDocumentChangedOverride(RadFixedDocument, RadFixedDocument)FixedDocumentViewerBase.SetRotationAngle(RotationAngle)FixedDocumentViewerBase.RegisterPresenter(string, IFixedDocumentPresenter)FixedDocumentViewerBase.GetRegisteredPresenter(string)FixedDocumentViewerBase.HasRegisteredPresenter(string)FixedDocumentViewerBase.SetDocumentSource(FixedDocumentStreamSource)FixedDocumentViewerBase.OnApplyTemplate()FixedDocumentViewerBase.Copy()FixedDocumentViewerBase.Select(TextPosition, TextPosition)FixedDocumentViewerBase.Select(TextRange)FixedDocumentViewerBase.GetSelectedText()FixedDocumentViewerBase.GetSelectedTextAsync()FixedDocumentViewerBase.Find(string)FixedDocumentViewerBase.Find(string, TextSearchOptions)FixedDocumentViewerBase.FindAll(string)FixedDocumentViewerBase.FindAll(string, TextSearchOptions)FixedDocumentViewerBase.FindPrevious(string)FixedDocumentViewerBase.FindPrevious(string, TextSearchOptions)FixedDocumentViewerBase.FitToWidth()FixedDocumentViewerBase.FitToPage()FixedDocumentViewerBase.Print()FixedDocumentViewerBase.Print(PrintSettings)FixedDocumentViewerBase.Print(PrintDialog, PrintSettings)FixedDocumentViewerBase.GoToPage(int)FixedDocumentViewerBase.PageUp()FixedDocumentViewerBase.PageDown()FixedDocumentViewerBase.GoToDestination(Destination, bool)FixedDocumentViewerBase.ScrollToHorizontalOffset(double)FixedDocumentViewerBase.ScrollToVerticalOffset(double)FixedDocumentViewerBase.UpdatePresenterLayout()FixedDocumentViewerBase.ClearDocument()FixedDocumentViewerBase.ScaleModeFixedDocumentViewerBase.RotationAngleFixedDocumentViewerBase.FixedDocumentPresenterFixedDocumentViewerBase.SelectionFillFixedDocumentViewerBase.CommandDescriptorsFixedDocumentViewerBase.CursorsFixedDocumentViewerBase.HorizontalScrollBarFixedDocumentViewerBase.VerticalScrollBarFixedDocumentViewerBase.CanHorizontallyScrollFixedDocumentViewerBase.CanVerticallyScrollFixedDocumentViewerBase.HorizontalScrollOffsetFixedDocumentViewerBase.VerticalScrollOffsetFixedDocumentViewerBase.ModeFixedDocumentViewerBase.DocumentFixedDocumentViewerBase.SettingsFixedDocumentViewerBase.DefaultImportSettingsFixedDocumentViewerBase.CurrentPageFixedDocumentViewerBase.ScaleFactorFixedDocumentViewerBase.CurrentPageNumberFixedDocumentViewerBase.PagesCountFixedDocumentViewerBase.ModeChangedFixedDocumentViewerBase.ScaleModeChangedFixedDocumentViewerBase.FixedDocumentPresenterChangedFixedDocumentViewerBase.DocumentChangedFixedDocumentViewerBase.CurrentPageChangedFixedDocumentViewerBase.AnnotationClickedFixedDocumentViewerBase.ScaleFactorChangedFixedDocumentViewerBase.HyperlinkClicked...

Constructors

Initializes a new instance of the RadPdfViewer class.

C#
public RadPdfViewer()

Fields

DocumentSourceProperty

DependencyProperty

Identifies Telerik.Windows.Controls.RadPdfViewer.DocumentSource property.

C#
public static readonly DependencyProperty DocumentSourceProperty

Properties

A PdfDocumentSource instance representing a PDF file.

C#
[TypeConverter(typeof(PdfDocumentSourceConverter))]
public override FixedDocumentStreamSource DocumentSource { get; set; }

Overrides: FixedDocumentViewerBase.DocumentSource

Gets or sets the key bindings.

C#
public KeyBindingCollection KeyBindings { get; }
Property Value:

The key bindings.

SignatureValidationProperties

SignatureValidationProperties

Gets or sets the signature validation properties.

C#
public SignatureValidationProperties SignatureValidationProperties { get; set; }
Property Value:

The signature validation properties.

Methods

The method invalidates the page UI. This will trigger re-render of the page content on the next layout pass. The method can be used when the document is imported with the PdfProcessing model.

C#
public void InvalidatePageUI(RadFixedPage page)
Parameters:pageRadFixedPage

The page whose UI will be invalidated.

Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.

C#
protected override AutomationPeer OnCreateAutomationPeer()
Returns:

AutomationPeer

The type-specific AutomationPeer implementation.

Raises the event. This method is invoked whenever is set to true internally.

C#
protected override void OnInitialized(EventArgs e)
Parameters:eEventArgs

The RoutedEventArgs that contains the event data.

Overrides: FixedDocumentViewerBase.OnInitialized(EventArgs)

Saves the current PDF file in a stream. This method preserves changes made while viewing the PDF file. For instance, such changes may occur while editing interactive forms.

C#
public void Save(Stream stream)
Parameters:streamStream