Class
RadPdfViewer

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:

cs-api-definition
[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

RadPdfViewer()

Initializes a new instance of the RadPdfViewer class.

Declaration

cs-api-definition
public RadPdfViewer()

Fields

DocumentSourceProperty

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

Declaration

cs-api-definition
public static readonly DependencyProperty DocumentSourceProperty

Field Value

DependencyProperty

Properties

DocumentSource

A PdfDocumentSource instance representing a PDF file.

Declaration

cs-api-definition
[TypeConverter(typeof(PdfDocumentSourceConverter))]
public override FixedDocumentStreamSource DocumentSource { get; set; }

Property Value

FixedDocumentStreamSource

Overrides FixedDocumentViewerBase.DocumentSource

KeyBindings

Gets or sets the key bindings.

Declaration

cs-api-definition
public KeyBindingCollection KeyBindings { get; }

Property Value

KeyBindingCollection

The key bindings.

SignatureValidationProperties

Gets or sets the signature validation properties.

Declaration

cs-api-definition
public SignatureValidationProperties SignatureValidationProperties { get; set; }

Property Value

SignatureValidationProperties

The signature validation properties.

Methods

InvalidatePageUI(RadFixedPage)

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.

Declaration

cs-api-definition
public void InvalidatePageUI(RadFixedPage page)

Parameters

page

RadFixedPage

The page whose UI will be invalidated.

OnCreateAutomationPeer()

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

Declaration

cs-api-definition
protected override AutomationPeer OnCreateAutomationPeer()

Returns

AutomationPeer

The type-specific AutomationPeer implementation.

OnInitialized(EventArgs)

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

Declaration

cs-api-definition
protected override void OnInitialized(EventArgs e)

Parameters

e

EventArgs

The RoutedEventArgs that contains the event data.

Overrides FixedDocumentViewerBase.OnInitialized(EventArgs)

Save(Stream)

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.

Declaration

cs-api-definition
public void Save(Stream stream)

Parameters

stream

Stream