ClassRadPdfViewer
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:
[TelerikToolboxCategory("Documents")]
public class RadPdfViewer : FixedDocumentViewerBase, IFixedDocumentViewer
Inheritance: objectFixedDocumentViewerBaseRadPdfViewer
Implements:
Inherited Members
Constructors
RadPdfViewer()
Initializes a new instance of the RadPdfViewer class.
Declaration
public RadPdfViewer()
Fields
DocumentSourceProperty
Identifies Telerik.Windows.Controls.RadPdfViewer.DocumentSource property.
Declaration
public static readonly DependencyProperty DocumentSourceProperty
Field Value
DependencyProperty
Properties
DocumentSource
A PdfDocumentSource instance representing a PDF file.
Declaration
[TypeConverter(typeof(PdfDocumentSourceConverter))]
public override FixedDocumentStreamSource DocumentSource { get; set; }
Property Value
Overrides
KeyBindings
Gets or sets the key bindings.
Declaration
public KeyBindingCollection KeyBindings { get; }
Property Value
The key bindings.
SignatureValidationProperties
Gets or sets the signature validation properties.
Declaration
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
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
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
protected override void OnInitialized(EventArgs e)
Parameters
e
The RoutedEventArgs that contains the event data.
Overrides
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.