Class
RadPdfViewerElement

Represents the main element of the RadPdfViewer control.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.PdfViewer.dll

Syntax:

cs-api-definition
public class RadPdfViewerElement : VirtualizedScrollPanel<RadFixedPage, RadFixedPageElement>, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider, IFixedDocumentPresenter, IPrintable

Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemUIItemBaseLightVisualElementScrollViewElement<VirtualizedStackContainer<RadFixedPage>>VirtualizedScrollPanel<RadFixedPage, RadFixedPageElement>RadPdfViewerElement

Implements: IBindableComponentIBorderElementIBoxElementIBoxStyleIComponentICustomTypeDescriptorIDisposableIDrawFillElementIFillElementIFixedDocumentPresenterIImageElementINotifyPropertyChangedIPrimitiveElementIPrintableIShapedElementIShortcutProviderIStylableElementIStylableNodeISupportDragISupportDropISupportSystemSkinITextPrimitiveITextProvider

Inherited Members VirtualizedScrollPanel<RadFixedPage, RadFixedPageElement>.CreateChildElements()VirtualizedScrollPanel<RadFixedPage, RadFixedPageElement>.WireEvents()VirtualizedScrollPanel<RadFixedPage, RadFixedPageElement>.UnwireEvents()VirtualizedScrollPanel<RadFixedPage, RadFixedPageElement>.CreateElementProvider()VirtualizedScrollPanel<RadFixedPage, RadFixedPageElement>.CreateItemTraverser(IList<RadFixedPage>)VirtualizedScrollPanel<RadFixedPage, RadFixedPageElement>.CreateItemScroller()VirtualizedScrollPanel<RadFixedPage, RadFixedPageElement>.InitializeItemScroller(ItemScroller<RadFixedPage>)VirtualizedScrollPanel<RadFixedPage, RadFixedPageElement>.InitializeViewElement(VirtualizedStackContainer<RadFixedPage>)VirtualizedScrollPanel<RadFixedPage, RadFixedPageElement>.DisposeManagedResources()VirtualizedScrollPanel<RadFixedPage, RadFixedPageElement>.MeasureItem(RadFixedPage, SizeF)VirtualizedScrollPanel<RadFixedPage, RadFixedPageElement>.MeasureOverride(SizeF)VirtualizedScrollPanel<RadFixedPage, RadFixedPageElement>.GetItemDesiredSize(RadFixedPage)VirtualizedScrollPanel<RadFixedPage, RadFixedPageElement>.scroller_ScrollerUpdated(object, EventArgs)VirtualizedScrollPanel<RadFixedPage, RadFixedPageElement>.HScrollBar_ValueChanged(object, EventArgs)VirtualizedScrollPanel<RadFixedPage, RadFixedPageElement>.OnAutoSizeChanged()VirtualizedScrollPanel<RadFixedPage, RadFixedPageElement>.GetElement(RadFixedPage)VirtualizedScrollPanel<RadFixedPage, RadFixedPageElement>.UpdateOnMeasure(SizeF)VirtualizedScrollPanel<RadFixedPage, RadFixedPageElement>.UpdateFitToSizeMode()VirtualizedScrollPanel<RadFixedPage, RadFixedPageElement>.ItemsVirtualizedScrollPanel<RadFixedPage, RadFixedPageElement>.ScrollerVirtualizedScrollPanel<RadFixedPage, RadFixedPageElement>.FitItemsToSizeVirtualizedScrollPanel<RadFixedPage, RadFixedPageElement>.OrientationVirtualizedScrollPanel<RadFixedPage, RadFixedPageElement>.AutoSizeItemsVirtualizedScrollPanel<RadFixedPage, RadFixedPageElement>.ItemSpacingScrollViewElement<VirtualizedStackContainer<RadFixedPage>>.InitializeFields()ScrollViewElement<VirtualizedStackContainer<RadFixedPage>>.CreateScrollBarElement()ScrollViewElement<VirtualizedStackContainer<RadFixedPage>>.InitializeViewElement(VirtualizedStackContainer<RadFixedPage>)ScrollViewElement<VirtualizedStackContainer<RadFixedPage>>.MeasureView(SizeF)ScrollViewElement<VirtualizedStackContainer<RadFixedPage>>.MeasureViewElement(SizeF)ScrollViewElement<VirtualizedStackContainer<RadFixedPage>>.ArrangeViewElement(RectangleF)ScrollViewElement<VirtualizedStackContainer<RadFixedPage>>.ArrangeHScrollBar(ref RectangleF, RectangleF)ScrollViewElement<VirtualizedStackContainer<RadFixedPage>>.ArrangeVScrollBar(ref RectangleF, RectangleF, RectangleF)ScrollViewElement<VirtualizedStackContainer<RadFixedPage>>.HScrollBarScrollViewElement<VirtualizedStackContainer<RadFixedPage>>.VScrollBarScrollViewElement<VirtualizedStackContainer<RadFixedPage>>.ViewElementLightVisualElement.BackgroundImagePropertyLightVisualElement.BackgroundImageLayoutPropertyLightVisualElement.BackColor2PropertyLightVisualElement.BackColor3PropertyLightVisualElement.BackColor4PropertyLightVisualElement.BorderBottomColorPropertyLightVisualElement.BorderBottomShadowColorPropertyLightVisualElement.BorderBottomWidthPropertyLightVisualElement.BorderBoxStylePropertyLightVisualElement.BorderColorPropertyLightVisualElement.BorderColor2PropertyLightVisualElement.BorderColor3PropertyLightVisualElement.BorderColor4PropertyLightVisualElement.BorderDashStylePropertyLightVisualElement.BorderDashPatternPropertyLightVisualElement.BorderDrawModePropertyLightVisualElement.BorderGradientAnglePropertyLightVisualElement.BorderGradientStylePropertyLightVisualElement.BorderInnerColorPropertyLightVisualElement.BorderInnerColor2PropertyLightVisualElement.BorderInnerColor3PropertyLightVisualElement.BorderInnerColor4PropertyLightVisualElement.BorderLeftColorPropertyLightVisualElement.BorderLeftShadowColorPropertyLightVisualElement.BorderLeftWidthPropertyLightVisualElement.BorderRightColorPropertyLightVisualElement.BorderRightShadowColorPropertyLightVisualElement.BorderRightWidthPropertyLightVisualElement.BorderTopColorPropertyLightVisualElement.BorderTopShadowColorPropertyLightVisualElement.BorderTopWidthPropertyLightVisualElement.BorderWidthPropertyLightVisualElement.ClipTextPropertyLightVisualElement.DisabledTextRenderingHintPropertyLightVisualElement.DrawBorderPropertyLightVisualElement.DrawFillPropertyLightVisualElement.DrawTextPropertyLightVisualElement.DrawBackgroundImagePropertyLightVisualElement.DrawImagePropertyLightVisualElement.EnableImageTransparencyPropertyLightVisualElement.GradientAnglePropertyLightVisualElement.GradientPercentagePropertyLightVisualElement.GradientPercentage2PropertyLightVisualElement.GradientStylePropertyLightVisualElement.HorizontalLineColorPropertyLightVisualElement.HorizontalLineWidthPropertyLightVisualElement.ImageAlignmentPropertyLightVisualElement.ImageIndexPropertyLightVisualElement.ImageKeyPropertyLightVisualElement.ImageLayoutPropertyLightVisualElement.ImageOpacityPropertyLightVisualElement.ImagePropertyLightVisualElement.ImageTransparentColorPropertyLightVisualElement.NumberOfColorsPropertyLightVisualElement.ShowHorizontalLinePropertyLightVisualElement.SvgImagePropertyLightVisualElement.TextAlignmentPropertyLightVisualElement.TextImageRelationPropertyLightVisualElement.TextWrapPropertyLightVisualElement.TextRenderingHintPropertyLightVisualElement.GetBorderThickness(LightVisualElement, bool)LightVisualElement.ShouldSerializeProperty(PropertyDescriptor)LightVisualElement.GetImageDrawTypeLocalValue()LightVisualElement.MapStyleProperty(RadProperty, string)LightVisualElement.GetStylablePropertiesFilter()LightVisualElement.GetPaintingBorderWidth()LightVisualElement.OnBitStateChanged(long, bool, bool)LightVisualElement.GetAsBitmapEx(Color, float, SizeF)LightVisualElement.GetClipRect()LightVisualElement.PaintElement(IGraphics, float, SizeF)LightVisualElement.PaintText(IGraphics)LightVisualElement.PaintTextCore(IGraphics)LightVisualElement.DrawHorizontalLineWithoutText(IGraphics)LightVisualElement.DrawHorizontalLine(IGraphics)LightVisualElement.PaintImage(IGraphics)LightVisualElement.PaintSvgImage(IGraphics)LightVisualElement.PaintBackgroundImage(IGraphics)LightVisualElement.PaintContent(IGraphics)LightVisualElement.AnimateImage(Image, bool)LightVisualElement.ClipImage(Image, Rectangle, Size)LightVisualElement.CalculateDesiredSize(SizeF, SizeF, SizeF)LightVisualElement.MeasureElements(SizeF, SizeF, Padding)LightVisualElement.ArrangeElement(RadElement, SizeF)LightVisualElement.GetClientOffset(bool)LightVisualElement.GetBorderThickness(bool)LightVisualElement.GetClientRectangle(bool, SizeF)LightVisualElement.GetClientRectangle(SizeF)LightVisualElement.GetTextAlignment(ContentAlignment)LightVisualElement.GetTextAlignment()LightVisualElement.OnLoaded()LightVisualElement.OnPropertyChanged(RadPropertyChangedEventArgs)LightVisualElement.OnTunnelEvent(RadElement, RoutedEventArgs)LightVisualElement.ToggleTextPrimitive(RadProperty)LightVisualElement.OnAnimatedImageFrameChanged()LightVisualElement.OnMouseMove(MouseEventArgs)LightVisualElement.GetFaceRectangle()LightVisualElement.CreateTextParams()LightVisualElement.PaintPrimitive(IGraphics, float, SizeF, TextParams)LightVisualElement.PaintPrimitive(IGraphics, TextParams)LightVisualElement.MeasureOverride(SizeF, TextParams)LightVisualElement.OnMouseMove(object, MouseEventArgs)LightVisualElement.GetTextSize(SizeF, TextParams)LightVisualElement.GetTextSize(TextParams)LightVisualElement.TextRenderingHintLightVisualElement.DisabledTextRenderingHintLightVisualElement.ShouldPaintLightVisualElement.CanFocusLightVisualElement.DrawTextLightVisualElement.DrawFillLightVisualElement.DrawBorderLightVisualElement.DrawBackgroundImageLightVisualElement.DrawImageLightVisualElement.BorderBoxStyleLightVisualElement.BorderDrawModeLightVisualElement.BorderWidthLightVisualElement.BorderLeftWidthLightVisualElement.BorderTopWidthLightVisualElement.BorderRightWidthLightVisualElement.BorderBottomWidthLightVisualElement.BorderGradientAngleLightVisualElement.BorderGradientStyleLightVisualElement.BorderColorLightVisualElement.BorderColor2LightVisualElement.BorderColor3LightVisualElement.BorderColor4LightVisualElement.BorderInnerColorLightVisualElement.BorderInnerColor2LightVisualElement.BorderInnerColor3LightVisualElement.BorderInnerColor4LightVisualElement.BackColor2LightVisualElement.BackColor3LightVisualElement.BackColor4LightVisualElement.NumberOfColorsLightVisualElement.GradientStyleLightVisualElement.GradientAngleLightVisualElement.GradientPercentageLightVisualElement.GradientPercentage2LightVisualElement.BackgroundImageLightVisualElement.ImageLightVisualElement.ImageIndexLightVisualElement.ImageKeyLightVisualElement.ImageLayoutLightVisualElement.BackgroundImageLayoutLightVisualElement.ImageOpacityLightVisualElement.DisabledImageOpacityLightVisualElement.TextAlignmentLightVisualElement.ImageAlignmentLightVisualElement.TextImageRelationLightVisualElement.ShowHorizontalLineLightVisualElement.HorizontalLineColorLightVisualElement.HorizontalLineWidthLightVisualElement.DisableHTMLRenderingLightVisualElement.BorderLeftColorLightVisualElement.BorderTopColorLightVisualElement.BorderRightColorLightVisualElement.BorderBottomColorLightVisualElement.BorderLeftShadowColorLightVisualElement.BorderTopShadowColorLightVisualElement.BorderRightShadowColorLightVisualElement.BorderBottomShadowColorLightVisualElement.ClipTextLightVisualElement.LayoutLightVisualElement.ImageTransparentColorLightVisualElement.BorderDashStyleLightVisualElement.BorderDashPatternLightVisualElement.EnableImageTransparencyLightVisualElement.SvgImageLightVisualElement.ImageDrawTypeLightVisualElement.AutoEllipsisLightVisualElement.UseMnemonicLightVisualElement.TextWrapLightVisualElement.ShowKeyboardCuesLightVisualElement.MeasureTrailingSpacesLightVisualElement.TextParamsUIItemBase.PaintFill(IGraphics, float, SizeF)UIItemBase.GetFillPaintRect(float, SizeF)UIItemBase.PaintFill(IGraphics, float, SizeF, RectangleF)UIItemBase.PaintBorder(IGraphics, float, SizeF)UIItemBase.PaintBorder(IGraphics, float, SizeF, RectangleF)UIItemBase.GetBorderPaintRect(float, SizeF)UIItemBase.ShouldUsePaintBuffer()RadItem.KeyDownEventRadItem.KeyPressEventRadItem.KeyUpEventRadItem.FocusCommandRadItem.ActionCommandRadItem.UseDefaultDisabledPaintPropertyRadItem.TextPropertyRadItem.TextOrientationPropertyRadItem.FlipTextPropertyRadItem.IsAddNewItemPropertyRadItem.ToolTipTextPropertyRadItem.EnableElementShadowPropertyRadItem.ShadowDepthPropertyRadItem.ShadowColorPropertyRadItem.IsPaintingRippleRadItem.EnableRippleAnimationPropertyRadItem.RippleAnimationColorPropertyRadItem.EnableFocusBorderPropertyRadItem.FocusBorderColorPropertyRadItem.FocusBorderWidthPropertyRadItem.EnableFocusBorderAnimationPropertyRadItem.EnableHighlightPropertyRadItem.HighlightColorPropertyRadItem.EnableBorderHighlightPropertyRadItem.BorderHighlightColorPropertyRadItem.BorderHighlightThicknessPropertyRadItem.VisualStatePropertyRadItem.SetOwnerCollection(RadItemOwnerCollection)RadItem.Select()RadItem.OnSelect()RadItem.Deselect()RadItem.OnDeselect()RadItem.DoKeyDown(KeyEventArgs)RadItem.DoKeyPress(KeyPressEventArgs)RadItem.DoKeyUp(KeyEventArgs)RadItem.OnKeyDown(KeyEventArgs)RadItem.OnKeyPress(KeyPressEventArgs)RadItem.OnKeyUp(KeyEventArgs)RadItem.RaiseBubbleEvent(RadElement, RoutedEventArgs)RadItem.OnPropertyChanging(RadPropertyChangingEventArgs)RadItem.OnEnabledChanged(RadPropertyChangedEventArgs)RadItem.OnTextChanging(TextChangingEventArgs)RadItem.OnTextChanged(EventArgs)RadItem.OnTextOrientationChanged(EventArgs)RadItem.OnFlipTextChanged(EventArgs)RadItem.PaintOverride(IGraphics, Rectangle, float, SizeF, bool)RadItem.OnMouseDown(MouseEventArgs)RadItem.OnMouseUp(MouseEventArgs)RadItem.OnMouseLeave(EventArgs)RadItem.StartRippleAnimation(MouseEventArgs)RadItem.UpdateFocusBorder(bool)RadItem.ContainsText()RadItem.ProcessDialogKey(Keys)RadItem.ProcessCmdKey(ref Message, Keys)RadItem.RaiseKeyDown(KeyEventArgs)RadItem.RaiseKeyPress(KeyPressEventArgs)RadItem.RaiseKeyUp(KeyEventArgs)RadItem.ReplaceDefaultDescriptors(PropertyDescriptorCollection)RadItem.CallOnGesture(GestureEventArgs)RadItem.OnGesture(GestureEventArgs)RadItem.OnTwoFingerTapGesture(GestureEventArgs)RadItem.OnPressAndTapGesture(PressAndTapGestureEventArgs)RadItem.OnRotateGesture(RotateGestureEventArgs)RadItem.CanDragCore(Point)RadItem.GetDragContextCore()RadItem.GetDragHintCore()RadItem.ProcessDragDrop(Point, ISupportDrag)RadItem.ProcessDragOver(Point, ISupportDrag)RadItem.ProcessDragEnter(Point, ISupportDrag)RadItem.ProcessDragLeave(Point, ISupportDrag)RadItem.UpdateOnShortcutsChanged()RadItem.CanHandleShortcut(ShortcutEventArgs)RadItem.IsOnActiveForm(Control, bool)RadItem.SetThemeValueOverride(RadProperty, object, string)RadItem.SetThemeValueOverride(RadProperty, object, string, string)RadItem.SetThemeValueOverride(RadProperty, object, string, Type)RadItem.ResetThemeValueOverride(RadProperty)RadItem.ResetThemeValueOverride(RadProperty, string)RadItem.ResetThemeValueOverrides()RadItem.GetAvailableVisualStates()RadItem.ShouldFallbackToDefaultTheme()RadItem.UseDefaultDisabledPaintRadItem.TextOrientationRadItem.FlipTextRadItem.CanHaveOwnStyleRadItem.TextRadItem.SelectableRadItem.DefaultAutoToolTipRadItem.ShouldHandleMouseInputRadItem.KeyTipRadItem.ParentItemRadItem.ShortcutsHandlerRadItem.EnableElementShadowRadItem.ShadowDepthRadItem.ShadowColorRadItem.EnableRippleAnimationRadItem.RippleAnimationColorRadItem.EnableFocusBorderRadItem.FocusBorderColorRadItem.FocusBorderWidthRadItem.EnableFocusBorderAnimationRadItem.EnableHighlightRadItem.HighlightColorRadItem.EnableBorderHighlightRadItem.BorderHighlightColorRadItem.BorderHighlightThicknessRadItem.MnemonicTextRadItem.ToolTipTextRadItem.ThemeRoleRadItem.VisualStateRadItem.StateManagerRadItem.AllowDragRadItem.AllowDropRadItem.ShortcutsRadItem.AccessibleDescriptionRadItem.AccessibleNameRadItem.AccessibleRoleRadItem.TextChangingRadItem.TextChangedRadItem.TextOrientationChangedRadItem.FlipTextChangedRadItem.QueryAccessibilityHelpRadItem.KeyDownRadItem.KeyPressRadItem.KeyUpRadItem.ZoomGestureRadItem.RotateGestureRadItem.PanGestureRadItem.TwoFingerTapGestureRadItem.PressAndTapGestureRadComponentElement.ToString()RadComponentElement.GetService(Type)RadComponentElement.CanRaiseEventsRadComponentElement.ContainerRadComponentElement.DesignModeRadComponentElement.SiteRadComponentElement.DataBindingsVisualElement.DefaultSizePropertyVisualElement.ForeColorPropertyVisualElement.BackColorPropertyVisualElement.FontPropertyVisualElement.SmoothingModePropertyVisualElement.OpacityPropertyVisualElement.CustomFontPropertyVisualElement.CustomFontSizePropertyVisualElement.CustomFontStylePropertyVisualElement.OnFontChanged(EventArgs)VisualElement.PrePaintElement(IGraphics)VisualElement.PostPaintElement(IGraphics)VisualElement.GetScaledFont(float)VisualElement.GetScaledFont(float, Font)VisualElement.DefaultSizeVisualElement.ForeColorVisualElement.BackColorVisualElement.FontVisualElement.CustomFontVisualElement.CustomFontSizeVisualElement.CustomFontStyleVisualElement.SmoothingModeVisualElement.OpacityVisualElement.FontChangedRadElement.BoundsPropertyRadElement.BorderThicknessPropertyRadElement.PaddingPropertyRadElement.MarginPropertyRadElement.AlignmentPropertyRadElement.AutoSizeModePropertyRadElement.FitToSizeModePropertyRadElement.MinSizePropertyRadElement.EnabledPropertyRadElement.CanFocusPropertyRadElement.IsItemFocusedPropertyRadElement.IsFocusedPropertyRadElement.IsMouseOverPropertyRadElement.IsMouseOverElementPropertyRadElement.IsMouseDownPropertyRadElement.ShouldPaintPropertyRadElement.VisibilityPropertyRadElement.NamePropertyRadElement.ClassPropertyRadElement.ClipDrawingPropertyRadElement.ShapePropertyRadElement.MouseClickedEventRadElement.MouseDoubleClickedEventRadElement.MouseDownEventRadElement.MouseUpEventRadElement.MouseWheelEventRadElement.ChildElementAddedEventRadElement.ParentChangedEventRadElement.BoundsChangedEventRadElement.VisibilityChangingEventRadElement.EnabledChangedEventRadElement.ControlChangedEventRadElement.BackgroundShapePropertyRadElement.BackgroundShapePaintModePropertyRadElement.ContainsFocusPropertyRadElement.ContainsMousePropertyRadElement.MaxSizePropertyRadElement.RightToLeftPropertyRadElement.AutoSizePropertyRadElement.ZIndexPropertyRadElement.AngleTransformPropertyRadElement.ScaleTransformPropertyRadElement.PositionOffsetPropertyRadElement.TagPropertyRadElement.StretchHorizontallyPropertyRadElement.StretchVerticallyPropertyRadElement.UseCompatibleTextRenderingPropertyRadElement.ClickModePropertyRadElement.styleVersionRadElement.paintSystemSkinRadElement.SetPropertyValueCommandRadElement.GetPropertyValueCommandRadElement.StylePropertyRadElement.CallCreateChildElements()RadElement.SuspendReferenceUpdate()RadElement.ResumeReferenceUpdate()RadElement.OnLoad(bool)RadElement.LoadCore()RadElement.OnUnload(ComponentThemableElementTree, bool)RadElement.UnloadCore(ComponentThemableElementTree)RadElement.OnUnloaded(ComponentThemableElementTree)RadElement.OnElementTreeChanged(ComponentThemableElementTree)RadElement.OnBeginDispose()RadElement.SetParent(RadElement)RadElement.OnParentChanged(RadElement)RadElement.UpdateReferences(ComponentThemableElementTree, bool, bool)RadElement.ResetLayout(bool)RadElement.HasInvisibleAncestor()RadElement.ResetLayoutCore()RadElement.InvalidateArrange()RadElement.InvalidateArrange(bool)RadElement.InvalidateMeasure()RadElement.InvalidateMeasure(bool)RadElement.UpdateLayout()RadElement.SuspendLayout()RadElement.SuspendLayout(bool)RadElement.ResumeLayout(bool)RadElement.ResumeLayout(bool, bool)RadElement.Arrange(RectangleF)RadElement.Measure(SizeF)RadElement.SetBounds(Rectangle)RadElement.SetBounds(int, int, int, int)RadElement.GetBoundingRectangle(Size)RadElement.GetBoundingRectangle(Rectangle)RadElement.GetDesiredSize(bool)RadElement.PointToScreen(Point)RadElement.PointFromScreen(Point)RadElement.PointToControl(Point)RadElement.PointFromControl(Point)RadElement.LocationToControl()RadElement.RectangleToScreen(Rectangle)RadElement.HitTest(Point)RadElement.OnRenderSizeChanged(SizeChangedInfo)RadElement.OnChildDesiredSizeChanged(RadElement)RadElement.OnLayoutPropertyChanged(RadPropertyChangedEventArgs)RadElement.ArrangeCore(RectangleF)RadElement.MeasureCore(SizeF)RadElement.ShouldArrangeChild(RadElement)RadElement.ShouldMeasureChild(RadElement)RadElement.MeasureChildren(SizeF)RadElement.GetArrangeRect(RectangleF)RadElement.CanExecuteLayoutOperation()RadElement.CalcLayoutOffset(PointF)RadElement.LockBounds()RadElement.UnlockBounds()RadElement.SetBoundsCore(Rectangle)RadElement.IsInValidState(bool)RadElement.Invalidate()RadElement.Invalidate(bool)RadElement.GetInvalidateBounds()RadElement.NotifyInvalidate(RadElement)RadElement.OnTransformationInvalidated()RadElement.PerformLayoutTransformation(ref RadMatrix)RadElement.PerformPaintTransformation(ref RadMatrix)RadElement.IsInGetAsBitmap()RadElement.PaintElementSkin(IGraphics)RadElement.PaintBackgroundShape(IGraphics)RadElement.PostPaintChildren(IGraphics, Rectangle, float, SizeF)RadElement.PaintChild(RadElement, IGraphics, Rectangle, float, SizeF, bool)RadElement.PaintShadow(RadElement, IGraphics)RadElement.PaintShadowCore(Graphics, Rectangle, RadItem)RadElement.GetShadowRect(ref Rectangle, int)RadElement.PaintFocusCues(IGraphics, Rectangle)RadElement.GetAsBitmap(IGraphics, Brush, float, SizeF)RadElement.GetAsTransformedBitmap(IGraphics, Brush, float, SizeF)RadElement.GetAsTransformedBitmap(Brush, float, SizeF)RadElement.GetAsTransformedBitmap(Rectangle, Brush, float, SizeF)RadElement.GetAsBitmapEx(Brush, float, SizeF)RadElement.GetAsBitmap(Brush, float, SizeF)RadElement.IsInVisibleClipBounds(Rectangle)RadElement.SetClipping(Graphics)RadElement.ShouldPaintChild(RadElement)RadElement.GetFocusRect()RadElement.GetCurrentShape()RadElement.GetPaintRectangle(float, float, SizeF)RadElement.GetPatchedRect(RectangleF, float, SizeF)RadElement.GetXPVisualStyle()RadElement.GetVistaVisualStyle()RadElement.InitializeSystemSkinPaint()RadElement.UnitializeSystemSkinPaint()RadElement.GetSystemSkinPaintBounds()RadElement.OnUseSystemSkinChanged(EventArgs)RadElement.ShouldPaintSystemSkin()RadElement.ComposeShouldPaintSystemSkin()RadElement.ResetStyleSettings(bool)RadElement.ResetStyleSettings(bool, RadProperty)RadElement.ProcessBehaviors(RadPropertyChangedEventArgs)RadElement.AddBehavior(PropertyChangeBehavior)RadElement.GetBehaviors()RadElement.RemoveBehavior(PropertyChangeBehavior)RadElement.ClearBehaviors()RadElement.AddRangeBehavior(PropertyChangeBehaviorCollection)RadElement.SetThemeApplied(bool)RadElement.OnStyleChanged(RadPropertyChangedEventArgs)RadElement.UnapplyStyle()RadElement.RemoveRangeBehaviors(PropertyChangeBehaviorCollection)RadElement.RemoveBehaviors(PropertyChangeBehavior)RadElement.RemoveRangeRoutedEventBehaviors(RoutedEventBehaviorCollection)RadElement.GetThemeEffectiveType()RadElement.GetChildrenByType(Type)RadElement.GetChildrenByBaseType(Type)RadElement.FindAncestorByThemeEffectiveType(Type)RadElement.FindAncestor<T>()RadElement.IsAncestorOf(RadElement)RadElement.FindDescendant<T>()RadElement.FindDescendant(Predicate<RadElement>)RadElement.FindDescendant(Type)RadElement.EnumDescendants(TreeTraversalMode)RadElement.EnumDescendants(Predicate<RadElement>, TreeTraversalMode)RadElement.EnumDescendants(Filter, TreeTraversalMode)RadElement.GetDescendants(Predicate<RadElement>, TreeTraversalMode)RadElement.GetDescendants(Filter, TreeTraversalMode)RadElement.GetAncestors(Filter)RadElement.GetAncestors(Predicate<RadElement>)RadElement.RaiseRoutedEvent(RadElement, RoutedEventArgs)RadElement.RaiseTunnelEvent(RadElement, RoutedEventArgs)RadElement.OnBubbleEvent(RadElement, RoutedEventArgs)RadElement.IsEventInProcess(RaisedRoutedEvent)RadElement.RegisterRoutedEvent(string, Type)RadElement.GetRegisterRoutedEvent(string, Type)RadElement.GetRegisterRoutedEvent(string, string)RadElement.GetRegisterRoutedEvent(string)RadElement.OnChildrenChanged(RadElement, ItemsChangeOperation)RadElement.GetChildren(ChildrenListOptions)RadElement.SendToBack()RadElement.BringToFront()RadElement.IsChildOf(RadElement)RadElement.Focus()RadElement.Focus(bool)RadElement.SetFocusPropertySafe(bool)RadElement.KillFocus()RadElement.OnCLREventsRise(RoutedEventArgs)RadElement.OnMouseHover(EventArgs)RadElement.OnParentEnabledChanged(RadPropertyChangedEventArgs)RadElement.OnLostMouseCapture(MouseEventArgs)RadElement.OnClick(EventArgs)RadElement.OnDoubleClick(EventArgs)RadElement.OnMouseEnter(EventArgs)RadElement.PerformClick()RadElement.OnMouseWheel(MouseEventArgs)RadElement.DoMouseWheel(MouseEventArgs)RadElement.DoClick(EventArgs)RadElement.DoDoubleClick(EventArgs)RadElement.IsInputKey(InputKeyEventArgs)RadElement.MouseEventArgsFromControl(MouseEventArgs)RadElement.DoMouseDown(MouseEventArgs)RadElement.DoMouseUp(MouseEventArgs)RadElement.DoMouseMove(MouseEventArgs)RadElement.ShowScreenTip(ScreenTipNeededEventArgs)RadElement.HideScreenTip()RadElement.DoMouseHover(EventArgs)RadElement.OnShowScreenTip(ComponentInputBehavior)RadElement.RaiseClick(EventArgs)RadElement.RaiseDoubleClick(EventArgs)RadElement.RaiseMouseWheel(MouseEventArgs)RadElement.UpdateContainsFocus(bool)RadElement.DoMouseEnter(EventArgs)RadElement.DoMouseLeave(EventArgs)RadElement.GetValue(RadProperty)RadElement.AddStylePropertySetting(IPropertySetting)RadElement.SetValueCore(RadPropertyValue, object, object, ValueSource)RadElement.NotifyChildren(RadPropertyChangedEventArgs)RadElement.OnLocationChanged(RadPropertyChangedEventArgs)RadElement.OnDisplayPropertyChanged(RadPropertyChangedEventArgs)RadElement.CanRaisePropertyChangeNotifications(RadPropertyValue)RadElement.IsPropertyCancelable(RadPropertyMetadata)RadElement.OnParentPropertyChanged(RadPropertyChangedEventArgs)RadElement.PerformDispose(bool)RadElement.DisposeChildren()RadElement.GetStylableChildrenHierarchy()RadElement.GetStylableChildren()RadElement.GetBorderThickness(BorderPrimitive)RadElement.DpiScaleChanged(SizeF)RadElement.ElementStateRadElement.DesiredSizeRadElement.IsLayoutSuspendedRadElement.BoundingRectangleRadElement.ControlBoundingRectangleRadElement.BypassLayoutPoliciesRadElement.IsArrangeValidRadElement.IsMeasureValidRadElement.TreeLevelRadElement.TransformRadElement.TotalTransformRadElement.ShouldPaintUsingParentShapeRadElement.UseSystemSkinRadElement.PropagateStyleToChildrenRadElement.ThemeEffectiveTypeRadElement.ElementTreeRadElement.ChildrenRadElement.ChildrenHierarchyRadElement.ParentRadElement.RoutedEventBehaviorsRadElement.LayoutableChildrenCountRadElement.ContainsFocusRadElement.NotifyParentOnMouseInputRadElement.IsAbleToRespondToMouseEventsRadElement.AutoSizeRadElement.BoundsRadElement.LocationRadElement.SizeRadElement.BorderThicknessRadElement.PaddingRadElement.MarginRadElement.AlignmentRadElement.AutoSizeModeRadElement.FitToSizeModeRadElement.EnabledRadElement.IsFocusedRadElement.IsMouseOverRadElement.IsMouseOverElementRadElement.IsMouseDownRadElement.InvalidateChildrenOnChildChangedRadElement.VisibilityRadElement.IsElementVisibleRadElement.NameRadElement.ClassRadElement.ClipDrawingRadElement.ShapeRadElement.MinSizeRadElement.MaxSizeRadElement.ZIndexRadElement.RightToLeftRadElement.UseCompatibleTextRenderingRadElement.BackgroundShapeRadElement.BackgroundShapePaintModeRadElement.ContainsMouseRadElement.CaptureRadElement.ScaleTransformRadElement.AngleTransformRadElement.PositionOffsetRadElement.SerializePropertiesRadElement.SerializeElementRadElement.SerializeChildrenRadElement.RenderingMaxFramerateRadElement.IsThemeAppliedRadElement.ShouldApplyThemeRadElement.UseCenteredAngleTransformRadElement.TagRadElement.StretchHorizontallyRadElement.StretchVerticallyRadElement.ClickModeRadElement.DoubleClickEnabledRadElement.CaptureOnMouseDownRadElement.IsItemHoveredRadElement.StyleRadElement.AutoToolTipRadElement.ScreenTipRadElement.AutoNumberKeyTipRadElement.DpiScaleFactorRadElement.LayoutUpdatedRadElement.MouseHoverRadElement.MouseMoveRadElement.MouseDownRadElement.MouseUpRadElement.ClickRadElement.DoubleClickRadElement.MouseEnterRadElement.MouseWheelRadElement.EnabledChangedRadElement.MouseLeaveRadElement.ChildrenChangedRadElement.LostMouseCaptureRadObject.BindingContextPropertyRadObject.RadTypeRadObject.ClearPropertyStore()RadObject.SuspendPropertyNotifications()RadObject.ResumePropertyNotifications()RadObject.GetPropertyValue(RadProperty)RadObject.SetDefaultValueOverride(RadProperty, object)RadObject.SetValue(RadProperty, object)RadObject.ResetValue(RadProperty)RadObject.ResetLocalValue(RadProperty)RadObject.ResetValue(RadProperty, ValueResetFlags)RadObject.UpdateValue(RadProperty)RadObject.GetValueSource(RadProperty)RadObject.GetRegisteredRadProperty(string)RadObject.UpdateValueCore(RadPropertyValue)RadObject.ResetValueCore(RadPropertyValue, ValueResetFlags)RadObject.GetDefaultValue(RadPropertyValue, object)RadObject.CoerceValue(RadPropertyValue, object)RadObject.ShouldSerializeProperty(RadProperty)RadObject.BindProperty(RadProperty, RadObject, RadProperty, PropertyBindingOptions)RadObject.UnbindProperty(RadProperty)RadObject.GetInheritedValue(RadProperty)RadObject.OnNotifyPropertyChanged(string)RadObject.OnNotifyPropertyChanged(PropertyChangedEventArgs)RadObject.OnShouldSerializeProperty(ShouldSerializePropertyEventArgs)RadObject.PropertyValuesRadObject.PropertyFilterRadObject.RadObjectTypeRadObject.BindingContextRadObject.PropertyChangedRadObject.RadPropertyChangedRadObject.RadPropertyChangingDisposableObject.GetBitState(long)DisposableObject.SetBitState(long, bool)DisposableObject.Dispose()DisposableObject.Dispose(bool)DisposableObject.DisposeUnmanagedResources()DisposableObject.BitStateDisposableObject.EventsDisposableObject.IsDisposingDisposableObject.IsDisposedDisposableObject.DisposedDisposableObject.Disposing

Constructors

RadPdfViewerElement()

Initializes a new instance of the RadPdfViewerElement class. Sets up initial component configurations, input handlers, and UI elements.

Declaration

cs-api-definition
public RadPdfViewerElement()

Properties

AISummaryModel

Gets or sets the model for AI-powered summaries and chat messages.

Declaration

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

Property Value

AISummaryModel

AllowSignSignatureDialog

Gets or sets whether the dialog for adding new digital signatures should be displayed. When disabled, users will not be able to sign documents through the standard dialog.

Declaration

cs-api-definition
[Browsable(false)]
public bool AllowSignSignatureDialog { get; set; }

Property Value

bool

AllowSignatureDialog

Gets or sets whether the signature verification dialog should be displayed when encountering digital signatures. When disabled, signature verification information will not be shown to the user.

Declaration

cs-api-definition
[Browsable(false)]
public bool AllowSignatureDialog { get; set; }

Property Value

bool

Annotations

Declaration

cs-api-definition
public Dictionary<RadFixedPage, RadElement> Annotations { get; set; }

Property Value

Dictionary<RadFixedPage, RadElement>

AnnotationsColor

Gets or sets the background color of the annotations when they are pressed or highlighted. This color is used to visually indicate interactive annotation elements in the document.

Declaration

cs-api-definition
public Color AnnotationsColor { get; set; }

Property Value

Color

AsyncRender

Gets or sets whether pages are rendered asynchronously. When enabled, pages are rendered on background threads to prevent UI freezing during complex page rendering.

Declaration

cs-api-definition
[Browsable(false)]
public bool AsyncRender { get; set; }

Property Value

bool

True if asynchronous rendering is enabled; otherwise, false.

CacheCapacity

Gets or sets the maximum number of pages that can be cached in memory. Higher values increase memory usage but improve performance when navigating between pages.

Declaration

cs-api-definition
[Browsable(false)]
public int CacheCapacity { get; set; }

Property Value

int

The maximum number of pages that can be stored in the cache.

CachePaint

Gets or sets whether page caching is enabled for painting operations. When enabled, rendered pages are stored in memory to improve performance during scrolling and navigation.

Declaration

cs-api-definition
[Browsable(false)]
public bool CachePaint { get; set; }

Property Value

bool

True if page caching is enabled; otherwise, false.

CanScrollHorizontally

Gets whether horizontal scrolling is possible in the current state. Returns true if the document width exceeds the visible width of the control.

Declaration

cs-api-definition
public bool CanScrollHorizontally { get; }

Property Value

bool

True if horizontal scrolling is possible; otherwise, false.

Implements IFixedDocumentPresenter.CanScrollHorizontally

CanScrollVertically

Gets whether vertical scrolling is possible in the current state. Returns true if the document height exceeds the visible height of the control and discrete mode is not active.

Declaration

cs-api-definition
public bool CanScrollVertically { get; }

Property Value

bool

True if vertical scrolling is possible; otherwise, false.

Implements IFixedDocumentPresenter.CanScrollVertically

ContextMenu

Gets or sets the context menu that appears when right-clicking within the PDF viewer. By default, this is an instance of PdfViewerContextMenu with standard PDF viewing options.

Declaration

cs-api-definition
public RadContextMenu ContextMenu { get; set; }

Property Value

RadContextMenu

CurrentPage

Gets the currently visible page in the viewer. Triggers the CurrentPageChanged event when the visible page changes.

Declaration

cs-api-definition
public RadFixedPage CurrentPage { get; }

Property Value

RadFixedPage

The current RadFixedPage being displayed, or null if no page is visible.

Implements IFixedDocumentPresenter.CurrentPage

Document

Gets or sets the currently loaded PDF document. Setting this property automatically unloads any previous document and loads the new one.

Declaration

cs-api-definition
public RadFixedDocument Document { get; set; }

Property Value

RadFixedDocument

Implements IFixedDocumentPresenter.Document

EnableAISummary

Gets or sets a value indicating whether AI-generated summaries are enabled. When set to true the SummaryProvider must be assigned to generate summaries and answer questions.

Declaration

cs-api-definition
public bool EnableAISummary { get; set; }

Property Value

bool

FitFullPage

Gets or sets whether the document should be scaled to fit the entire page within the viewer. When enabled, the viewer will show complete pages and use discrete scrolling between pages.

Declaration

cs-api-definition
public bool FitFullPage { get; set; }

Property Value

bool

FitToWidth

Gets or sets whether the document should be scaled to fit the width of the viewer. When enabled, the document will be automatically resized horizontally to fill the available width.

Declaration

cs-api-definition
public bool FitToWidth { get; set; }

Property Value

bool

HorizontalScrollState

Gets or sets the display state of the horizontal scrollbar. Controls whether the horizontal scrollbar is always visible, hidden, or only appears when needed.

Declaration

cs-api-definition
public ScrollState HorizontalScrollState { get; set; }

Property Value

ScrollState

ImportSettings

Gets or sets the settings used when importing PDF documents. Controls aspects like reading mode, password handling, and stream management.

Declaration

cs-api-definition
public PdfImportSettings ImportSettings { get; set; }

Property Value

PdfImportSettings

The current import settings, creating default settings if none have been set.

Mode

Gets or sets the current viewer mode that determines how mouse input is interpreted. Supported modes include Pan (for navigation), TextSelection (for selecting text), and None.

Declaration

cs-api-definition
public FixedDocumentViewerMode Mode { get; set; }

Property Value

FixedDocumentViewerMode

The current FixedDocumentViewerMode value.

Implements IFixedDocumentPresenter.Mode

MouseController

Gets the MouseHandlersController which manages all mouse input handling for the PDF viewer. Controls behaviors like text selection, panning, and annotation interaction.

Declaration

cs-api-definition
public MouseHandlersController MouseController { get; }

Property Value

MouseHandlersController

MouseHandlersController

Gets the MouseHandlersController which handles and manages all mouse input for the PDF viewer. The controller processes mouse events and delegates them to appropriate handlers based on the current viewer mode.

Declaration

cs-api-definition
public MouseHandlersController MouseHandlersController { get; }

Property Value

MouseHandlersController

The MouseHandlersController instance that manages mouse interactions.

Implements IFixedDocumentPresenter.MouseHandlersController

PdfNavigationBehavior

Gets or sets the behavior used for PDF navigation operations. Defines how the viewer responds to navigation requests like GoToPage, GoToDestination, etc.

Declaration

cs-api-definition
[Browsable(false)]
public IPdfNavigationBehavior PdfNavigationBehavior { get; set; }

Property Value

IPdfNavigationBehavior

The current navigation behavior implementation.

PrintOrientation

Gets or sets the page orientation used when printing the document. Can be set to Portrait, Landscape, or Auto (determines orientation based on page content).

Declaration

cs-api-definition
[Browsable(false)]
public PrintOrientation PrintOrientation { get; set; }

Property Value

PrintOrientation

PrintScalePageToPaperSize

Gets or sets whether pages are scaled during printing to fit the paper size without preserving aspect ratio. When enabled, pages will be stretched or compressed to fill the entire printable area.

Declaration

cs-api-definition
[Browsable(false)]
public bool PrintScalePageToPaperSize { get; set; }

Property Value

bool

ReadingMode

Gets or sets whether the entire document is loaded immediately or pages are loaded as they're needed. This affects memory usage and initial loading performance of large documents.

Declaration

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

Property Value

ReadingMode

RotateAngle

Gets or sets the rotation angle for all pages in the document. Changes to this property will cause the document pages to be redrawn with the new orientation.

Declaration

cs-api-definition
public RotationAngle RotateAngle { get; set; }

Property Value

RotationAngle

The current rotation angle applied to the document.

ScaleFactor

Gets or sets the zoom factor by which the document is scaled. Values range from 0.01 (1%) to 62.0 (6200%), with 1.0 representing the original document size.

Declaration

cs-api-definition
public float ScaleFactor { get; set; }

Property Value

float

SelectionColor

Gets or sets the color used to highlight text selections within the PDF document. This color is applied as a semi-transparent overlay on selected text content.

Declaration

cs-api-definition
public Color SelectionColor { get; set; }

Property Value

Color

SignatureValidationProperties

Gets or sets the properties used for validating digital signatures in the PDF document. Controls how signature validation is performed and displayed.

Declaration

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

Property Value

SignatureValidationProperties

The current signature validation properties.

SummaryProvider

Gets or sets the summary provider used for generating summaries and answering questions.

Declaration

cs-api-definition
public ISummaryProvider SummaryProvider { get; set; }

Property Value

ISummaryProvider

UseBufferedPrinting

Gets or sets whether buffered printing is used. When true, the page is rendered to an image before being sent to the printer, which may result in quality loss but can improve compatibility.

Declaration

cs-api-definition
public bool UseBufferedPrinting { get; set; }

Property Value

bool

True if buffered printing is enabled; otherwise, false.

VerticalScrollState

Gets or sets the display state of the vertical scrollbar. Controls whether the vertical scrollbar is always visible, hidden, or only appears when needed.

Declaration

cs-api-definition
public ScrollState VerticalScrollState { get; set; }

Property Value

ScrollState

Methods

ArrangeOverride(SizeF)

Overrides the default arrangement behavior to position the waiting bar within the element.

Declaration

cs-api-definition
protected override SizeF ArrangeOverride(SizeF finalSize)

Parameters

finalSize

SizeF

The final size allocated for the element.

Returns

SizeF

The actual size used by the element.

Overrides ScrollViewElement<VirtualizedStackContainer<RadFixedPage>>.ArrangeOverride(SizeF)

BringIntoView(TextPosition)

Scrolls the viewer horizontally and vertically to ensure that the specified text position is visible. This is useful when programmatically navigating to specific text content within the document.

Declaration

cs-api-definition
public void BringIntoView(TextPosition textPosition)

Parameters

textPosition

TextPosition

The text position that should be made visible in the viewport.

Copy()

Copies the currently selected text in the document to the system clipboard. If no text is selected or no document is loaded, this operation does nothing.

Declaration

cs-api-definition
public void Copy()

CreateChildElements()

Creates and initializes all child elements of the PDF viewer including the waiting bar, and sets up default visual appearance.

Declaration

cs-api-definition
protected override void CreateChildElements()

Overrides VirtualizedScrollPanel<RadFixedPage, RadFixedPageElement>.CreateChildElements()

CreateElementProvider()

Creates the element provider responsible for virtualizing PDF page elements.

Declaration

cs-api-definition
protected override IVirtualizedElementProvider<RadFixedPage> CreateElementProvider()

Returns

IVirtualizedElementProvider<RadFixedPage>

A FixedPageElementProvider that manages the creation and recycling of page elements.

Overrides VirtualizedScrollPanel<RadFixedPage, RadFixedPageElement>.CreateElementProvider()

CreateItemScroller()

Creates and initializes the item scroller used to scroll through PDF pages.

Declaration

cs-api-definition
protected override ItemScroller<RadFixedPage> CreateItemScroller()

Returns

ItemScroller<RadFixedPage>

A specialized PdfItemScroller instance to handle PDF page scrolling.

Overrides VirtualizedScrollPanel<RadFixedPage, RadFixedPageElement>.CreateItemScroller()

CreatePageElement(RadFixedPage, object)

Creates a RadFixedPageElement for displaying a RadFixedPage in the viewer. Fires the PageElementCreating event to allow customization of the created element.

Declaration

cs-api-definition
public virtual IVirtualizedElement<RadFixedPage> CreatePageElement(RadFixedPage data, object context)

Parameters

data

RadFixedPage

The RadFixedPage to create an element for.

context

object

Additional context information for element creation.

Returns

IVirtualizedElement<RadFixedPage>

A new IVirtualizedElement instance representing the page.

CreateViewElement()

Creates the main view element container used to display PDF pages.

Declaration

cs-api-definition
protected override VirtualizedStackContainer<RadFixedPage> CreateViewElement()

Returns

VirtualizedStackContainer<RadFixedPage>

A specialized PdfViewerStackContainer to manage PDF page layout.

Overrides ScrollViewElement<VirtualizedStackContainer<RadFixedPage>>.CreateViewElement()

DeselectAll()

Clears the current selection.

Declaration

cs-api-definition
public void DeselectAll()

DisposeManagedResources()

Releases all managed resources used by the element. Unloads the document and disposes of the page renderer and mouse controller.

Declaration

cs-api-definition
protected override void DisposeManagedResources()

Overrides VirtualizedScrollPanel<RadFixedPage, RadFixedPageElement>.DisposeManagedResources()

ExportPage(int, double, bool, ImageFormat)

Exports a single PDF page as a Bitmap image in memory.

Declaration

cs-api-definition
public Bitmap ExportPage(int pageNumber, double aspectRatio, bool overrideFileIfAlreadyExist, ImageFormat imageFormat)

Parameters

pageNumber

int

Number of the page to export (1-based index, first page is 1). A value of 0 exports the current visible page.

aspectRatio

double

Scale factor for the export. Value of 1.0 represents original size.

overrideFileIfAlreadyExist

bool

Unused parameter in this overload.

imageFormat

ImageFormat

Unused parameter in this overload.

Returns

Bitmap

A Bitmap containing the rendered PDF page. This bitmap must be manually disposed by the caller.

ExportPage(int, string, double, bool, ImageFormat)

Exports a single PDF page as an image file on disk.

Declaration

cs-api-definition
public bool ExportPage(int pageNumber, string fileName, double aspectRatio, bool overrideFileIfAlreadyExist, ImageFormat imageFormat)

Parameters

pageNumber

int

Number of the page to export (1-based index, first page is 1). A value of 0 exports the current visible page.

fileName

string

Full path where the output image file should be saved.

aspectRatio

double

Scale factor for the export. Value of 1.0 represents original size.

overrideFileIfAlreadyExist

bool

When true, overwrites any existing file with the same name.

imageFormat

ImageFormat

The image format to use when saving the file (PNG, JPEG, BMP, etc).

Returns

bool

True if the page was successfully exported; false if the file exists and overrideFileIfAlreadyExist is false.

ExportPages(double, bool, ImageFormat)

Exports all PDF pages as a collection of Bitmap images in memory.

Declaration

cs-api-definition
public IEnumerable<Bitmap> ExportPages(double aspectRatio, bool overrideFileIfAlreadyExist, ImageFormat imageFormat)

Parameters

aspectRatio

double

Scale factor for the export. Value of 1.0 represents original size.

overrideFileIfAlreadyExist

bool

Unused parameter in this overload.

imageFormat

ImageFormat

Unused parameter in this overload.

Returns

IEnumerable<Bitmap>

A collection of Bitmap objects, one for each page in the document. These Bitmaps must be manually disposed by the caller.

ExportPages(string, double, bool, ImageFormat)

Exports all PDF pages as separate image files on disk. Page numbers will be appended to the filename (e.g., file-1.png, file-2.png).

Declaration

cs-api-definition
public bool ExportPages(string fileName, double aspectRatio, bool overrideFileIfAlreadyExist, ImageFormat imageFormat)

Parameters

fileName

string

Base path and filename pattern for the output image files.

aspectRatio

double

Scale factor for the export. Value of 1.0 represents original size.

overrideFileIfAlreadyExist

bool

When true, overwrites any existing files with the same names.

imageFormat

ImageFormat

The image format to use when saving the files (PNG, JPEG, BMP, etc).

Returns

bool

True if all pages were successfully exported; false if any file exists and overrideFileIfAlreadyExist is false.

Find(string)

Finds the specified text in the current document using default search options.

Declaration

cs-api-definition
public SearchResult Find(string text)

Parameters

text

string

The text to search for in the document.

Returns

SearchResult

A SearchResult object containing information about the found text position or SearchResult.NotFound if the text was not found.

Find(string, TextSearchOptions)

Finds the specified text in the current document using specified search options.

Declaration

cs-api-definition
public SearchResult Find(string text, TextSearchOptions options)

Parameters

text

string

The text to search for in the document.

options

TextSearchOptions

The search options that control case sensitivity, whole word matching, and other search parameters.

Returns

SearchResult

A SearchResult object containing information about the found text position or SearchResult.NotFound if the text was not found.

Find(string, TextSearchOptions, TextPosition)

Finds the specified text in the current document using specified search options and starting from a specific position. The search begins from the provided position and moves forward through the document.

Declaration

cs-api-definition
public SearchResult Find(string text, TextSearchOptions options, TextPosition startPosition)

Parameters

text

string

The text to search for in the document.

options

TextSearchOptions

The search options that control case sensitivity, whole word matching, and other search parameters.

startPosition

TextPosition

The text position from which to begin searching.

Returns

SearchResult

A SearchResult object containing information about the found text position or SearchResult.NotFound if the text was not found.

Find(string, TextSearchOptions, TextRange)

Finds the specified text within a specific range of the current document using specified search options. The search is limited to the text content within the provided range boundaries.

Declaration

cs-api-definition
public SearchResult Find(string text, TextSearchOptions options, TextRange range)

Parameters

text

string

The text to search for in the document.

options

TextSearchOptions

The search options that control case sensitivity, whole word matching, and other search parameters.

range

TextRange

The text range within which to limit the search operation.

Returns

SearchResult

A SearchResult object containing information about the found text position or SearchResult.NotFound if the text was not found.

Find(string, int)

Finds the specified text in a specific page of the current document. This search is limited to the specified page only and will not search across multiple pages.

Declaration

cs-api-definition
public SearchResult Find(string text, int pageNumber)

Parameters

text

string

The text to search for in the document.

pageNumber

int

The page number (1-based) to search within.

Returns

SearchResult

A SearchResult object containing information about the found text position or SearchResult.NotFound if the text was not found on the specified page.

FindAll(string)

Finds all occurrences of the specified text in the current document using default search options. Returns all matching results found throughout the entire document.

Declaration

cs-api-definition
public IEnumerable<SearchResult> FindAll(string text)

Parameters

text

string

The text to search for in the document.

Returns

IEnumerable<SearchResult>

An enumerable collection of SearchResult objects representing all found occurrences of the text.

FindAll(string, TextSearchOptions)

Finds all occurrences of the specified text in the current document using specified search options. Returns all matching results found throughout the entire document based on the provided search criteria.

Declaration

cs-api-definition
public IEnumerable<SearchResult> FindAll(string text, TextSearchOptions options)

Parameters

text

string

The text to search for in the document.

options

TextSearchOptions

The search options that control case sensitivity, whole word matching, and other search parameters.

Returns

IEnumerable<SearchResult>

An enumerable collection of SearchResult objects representing all found occurrences of the text.

FindAll(string, TextSearchOptions, TextPosition)

Finds all occurrences of the specified text in the current document using specified search options and starting from a specific position. Returns all matching results found from the start position to the end of the document.

Declaration

cs-api-definition
public IEnumerable<SearchResult> FindAll(string text, TextSearchOptions options, TextPosition startPosition)

Parameters

text

string

The text to search for in the document.

options

TextSearchOptions

The search options that control case sensitivity, whole word matching, and other search parameters.

startPosition

TextPosition

The text position from which to begin searching.

Returns

IEnumerable<SearchResult>

An enumerable collection of SearchResult objects representing all found occurrences of the text from the start position.

FindAll(string, TextSearchOptions, TextRange)

Finds all occurrences of the specified text within a specific range of the current document using specified search options. Returns all matching results found within the boundaries of the provided text range.

Declaration

cs-api-definition
public IEnumerable<SearchResult> FindAll(string text, TextSearchOptions options, TextRange range)

Parameters

text

string

The text to search for in the document.

options

TextSearchOptions

The search options that control case sensitivity, whole word matching, and other search parameters.

range

TextRange

The text range within which to limit the search operation.

Returns

IEnumerable<SearchResult>

An enumerable collection of SearchResult objects representing all found occurrences of the text within the specified range.

FindPrevious(string)

Finds the previous occurrence of the specified text in the current document using default search options. The search begins from the current selection or position and moves backward through the document.

Declaration

cs-api-definition
public SearchResult FindPrevious(string text)

Parameters

text

string

The text to search for in the document.

Returns

SearchResult

A SearchResult object containing information about the found text position or SearchResult.NotFound if the text was not found.

FindPrevious(string, TextSearchOptions)

Finds the previous occurrence of the specified text in the current document using specified search options. The search begins from the current selection or position and moves backward through the document.

Declaration

cs-api-definition
public SearchResult FindPrevious(string text, TextSearchOptions options)

Parameters

text

string

The text to search for in the document.

options

TextSearchOptions

The search options that control case sensitivity, whole word matching, and other search parameters.

Returns

SearchResult

A SearchResult object containing information about the found text position or SearchResult.NotFound if the text was not found.

FindPrevious(string, TextSearchOptions, TextPosition)

Finds the previous occurrence of the specified text in the current document using specified search options and starting from a specific position. The search begins from the provided position and moves backward through the document.

Declaration

cs-api-definition
public SearchResult FindPrevious(string text, TextSearchOptions options, TextPosition startPosition)

Parameters

text

string

The text to search for in the document.

options

TextSearchOptions

The search options that control case sensitivity, whole word matching, and other search parameters.

startPosition

TextPosition

The text position from which to begin searching backward.

Returns

SearchResult

A SearchResult object containing information about the found text position or SearchResult.NotFound if the text was not found.

FindPrevious(string, TextSearchOptions, TextRange)

Finds the previous occurrence of the specified text within a specific range of the current document using specified search options. The search moves backward through the text content within the provided range boundaries.

Declaration

cs-api-definition
public SearchResult FindPrevious(string text, TextSearchOptions options, TextRange range)

Parameters

text

string

The text to search for in the document.

options

TextSearchOptions

The search options that control case sensitivity, whole word matching, and other search parameters.

range

TextRange

The text range within which to limit the search operation.

Returns

SearchResult

A SearchResult object containing information about the found text position or SearchResult.NotFound if the text was not found.

FitFullPageCore()

Adjusts the scale factor to fit the entire current page in the viewer. Calculates the optimal scale that allows the page to be fully visible within the available space.

Declaration

cs-api-definition
public void FitFullPageCore()

FitPageToWidthCore()

Adjusts the scale factor to fit the current page width to the viewer width. Takes into account the orientation of the page and available space in the control.

Declaration

cs-api-definition
public void FitPageToWidthCore()

GetDocumentAsStream()

Gets the currently loaded PDF document as a stream.

Declaration

cs-api-definition
public Stream GetDocumentAsStream()

Returns

Stream

A stream containing the PDF document data, or null if no document is loaded.

GetFocusedPage()

Gets the page element which contains the text caret when text selection is active.

Declaration

cs-api-definition
public RadFixedPageElement GetFocusedPage()

Returns

RadFixedPageElement

The RadFixedPageElement containing the caret, or null if text operations are not supported or no caret exists.

GetLocationFromViewPoint(Point, out RadFixedPage, out Point)

Converts a point in view coordinates to a location on a PDF page. Takes into account scrolling position and rotation angle of the document.

Declaration

cs-api-definition
public bool GetLocationFromViewPoint(Point viewPoint, out RadFixedPage page, out Point location)

Parameters

viewPoint

Point

The point in viewer coordinates.

page

RadFixedPage

When this method returns, contains the page that the point is on, or null if the point is not on any page.

location

Point

When this method returns, contains the point in page coordinates, or Point.Empty if the point is not on any page.

Returns

bool

True if the point is on a page; otherwise, false.

Implements IFixedDocumentPresenter.GetLocationFromViewPoint(Point, out RadFixedPage, out Point)

GetPageElement(RadFixedPage)

Gets the visual page element which corresponds to a specific logical page from the document.

Declaration

cs-api-definition
public RadFixedPageElement GetPageElement(RadFixedPage page)

Parameters

page

RadFixedPage

The logical page from the document model.

Returns

RadFixedPageElement

The visual RadFixedPageElement corresponding to the given logical page, or null if the page isn't currently visible.

GetPageVerticalOffset(RadFixedPage)

Gets the vertical offset in pixels of a specific page from the top edge of the first page in the document. This value is useful for programmatically scrolling to specific pages.

Declaration

cs-api-definition
public int GetPageVerticalOffset(RadFixedPage page)

Parameters

page

RadFixedPage

The page whose offset should be calculated.

Returns

int

The vertical offset in pixels from the top of the document to the specified page.

GetScrollOffset()

Gets the current scroll offset.

Declaration

cs-api-definition
public Point GetScrollOffset()

Returns

Point

The offset

Implements IFixedDocumentPresenter.GetScrollOffset()

GetSelectedText()

Gets the currently selected text content from the document. Returns an empty string if no document is loaded or if no text is selected.

Declaration

cs-api-definition
public string GetSelectedText()

Returns

string

A string containing the selected text, or an empty string if no selection exists.

GetSelectedTextAsync()

Gets the currently selected text content from the document asynchronously. This is useful for large selections where retrieving the text may be time-consuming.

Declaration

cs-api-definition
public Task<string> GetSelectedTextAsync()

Returns

Task<string>

A Task that resolves to a string containing the selected text, or an empty string if no document is loaded or no selection exists.

GetViewPointFromTextPosition(TextPosition)

Gets the screen coordinates in the viewer corresponding to a specific text position in the document. Useful for positioning UI elements like tooltips or annotations at specific text locations.

Declaration

cs-api-definition
public Point GetViewPointFromTextPosition(TextPosition position)

Parameters

position

TextPosition

The text position in the document model.

Returns

Point

A Point representing the screen coordinates in the viewer, or Point.Empty if the position is invalid.

GoToDestination(Destination)

Navigates to a specified destination.

Declaration

cs-api-definition
public void GoToDestination(Destination dest)

Parameters

dest

Destination

The destination.

Implements IFixedDocumentPresenter.GoToDestination(Destination)

GoToPage(int)

Navigates to the page with the specified number.

Declaration

cs-api-definition
public void GoToPage(int pageNo)

Parameters

pageNo

int

The page number.

Implements IFixedDocumentPresenter.GoToPage(int)

HideCaret()

Hides the text caret indicator on the current page. Has no effect if there is no focused page or if the caret is already hidden.

Declaration

cs-api-definition
public void HideCaret()

Implements IFixedDocumentPresenter.HideCaret()

HideSignaturePanel()

Hides the signature panel if it's currently visible.

Declaration

cs-api-definition
public void HideSignaturePanel()

InvalidatePage(RadFixedPage)

Forces a specific page to be redrawn in the viewer. Use this when the page content has changed and needs to be visually updated.

Declaration

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

Parameters

page

RadFixedPage

The page that needs to be redrawn.

InvalidatePages()

Forces all pages in the document to be redrawn in the viewer. Use this when multiple pages have changed or when global document settings have been modified.

Declaration

cs-api-definition
public void InvalidatePages()

IsWaiting()

Checks if the loading indicator is currently visible, indicating an operation is in progress.

Declaration

cs-api-definition
public bool IsWaiting()

Returns

bool

True if the loading indicator is displayed and waiting; false otherwise.

LoadDocument(RadFixedDocument)

Loads an already created RadFixedDocument into the PDF viewer. Updates the view and initializes all necessary handlers for the document.

Declaration

cs-api-definition
public void LoadDocument(RadFixedDocument document)

Parameters

document

RadFixedDocument

The RadFixedDocument to display in the viewer.

LoadDocument(Stream)

Loads a PDF document from a provided stream containing PDF data. Unloads any currently loaded document and displays a waiting indicator while loading.

Declaration

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

Parameters

stream

Stream

The stream containing the PDF document data to load.

LoadDocument(string)

Loads a PDF document from a specified file path. Unloads any currently loaded document and displays a waiting indicator while loading.

Declaration

cs-api-definition
public void LoadDocument(string path)

Parameters

path

string

The full path to the PDF file to load.

MeasureOverride(SizeF)

Overrides the default measuring behavior to include the waiting bar in measurement calculations.

Declaration

cs-api-definition
protected override SizeF MeasureOverride(SizeF availableSize)

Parameters

availableSize

SizeF

The available size for the element.

Returns

SizeF

The desired size of the element.

Overrides VirtualizedScrollPanel<RadFixedPage, RadFixedPageElement>.MeasureOverride(SizeF)

MoveToNextEditor()

Moves focus to the next interactive element (such as form field) in the document.

Declaration

cs-api-definition
public virtual void MoveToNextEditor()

MoveToPreviousEditor()

Moves focus to the previous interactive element (such as form field) in the document.

Declaration

cs-api-definition
public virtual void MoveToPreviousEditor()

OnAnnotationClicked(AnnotationEventArgs)

Fires the AnnotationClicked event.

Declaration

cs-api-definition
protected virtual void OnAnnotationClicked(AnnotationEventArgs e)

Parameters

e

AnnotationEventArgs

OnBoundsChanged(RadPropertyChangedEventArgs)

Responds to changes in the element's bounds by adjusting the document view. Updates the page fitting when the control is resized to maintain proper page display.

Declaration

cs-api-definition
protected override void OnBoundsChanged(RadPropertyChangedEventArgs e)

Parameters

e

RadPropertyChangedEventArgs

The event arguments containing the old and new property values.

Overrides UIItemBase.OnBoundsChanged(RadPropertyChangedEventArgs)

OnCaretPositionChanged()

Fires the CaretPositionChanged event.

Declaration

cs-api-definition
protected virtual void OnCaretPositionChanged()

OnCurrenPageChanged(CurrentPageChangedEventArgs)

Declaration

cs-api-definition
protected virtual void OnCurrenPageChanged(CurrentPageChangedEventArgs args)

Parameters

args

CurrentPageChangedEventArgs

OnDataError(object, PdfExceptionEventArgs)

Declaration

cs-api-definition
protected virtual bool OnDataError(object sender, PdfExceptionEventArgs e)

Parameters

sender

object

e

PdfExceptionEventArgs

Returns

bool

OnDocumentLoaded()

Fires the DocumentLoaded event.

Declaration

cs-api-definition
protected virtual void OnDocumentLoaded()

OnDocumentUnloaded()

Fires the DocumentLoaded event.

Declaration

cs-api-definition
protected virtual void OnDocumentUnloaded()

OnFitFullPageChanged(EventArgs)

Fires the FitFullPageChanged event.

Declaration

cs-api-definition
protected virtual void OnFitFullPageChanged(EventArgs e)

Parameters

e

EventArgs

OnFitToWidthChanged(EventArgs)

Fires the FitToWidthChanged event.

Declaration

cs-api-definition
protected virtual void OnFitToWidthChanged(EventArgs e)

Parameters

e

EventArgs

OnPageElementCreating(RadFixedPageElementEventArgs)

Fires the PageElementCreating event.

Declaration

cs-api-definition
protected virtual void OnPageElementCreating(RadFixedPageElementEventArgs args)

Parameters

args

RadFixedPageElementEventArgs

OnPanGesture(PanGestureEventArgs)

Handles pan gesture events for navigation within the PDF document. Processes touch-based panning gestures to allow scrolling through the document.

Declaration

cs-api-definition
protected override void OnPanGesture(PanGestureEventArgs args)

Parameters

args

PanGestureEventArgs

The event arguments containing information about the pan gesture.

Overrides RadItem.OnPanGesture(PanGestureEventArgs)

OnScaleFactorChanged()

Fires the ScaleFactorChanged event.

Declaration

cs-api-definition
protected virtual void OnScaleFactorChanged()

OnSelectionChanged()

Fires the SelectionChanged event.

Declaration

cs-api-definition
protected virtual void OnSelectionChanged()

OnViewerModeChanged()

Fires the ViewerModeChanged event.

Declaration

cs-api-definition
protected virtual void OnViewerModeChanged()

OnZoomGesture(ZoomGestureEventArgs)

Handles zoom gesture events for adjusting the document scale. Processes touch-based pinch and stretch gestures to zoom in and out of the document.

Declaration

cs-api-definition
protected override void OnZoomGesture(ZoomGestureEventArgs args)

Parameters

args

ZoomGestureEventArgs

The event arguments containing information about the zoom gesture.

Overrides RadItem.OnZoomGesture(ZoomGestureEventArgs)

PageDown()

Navigates to the next page.

Declaration

cs-api-definition
public void PageDown()

Implements IFixedDocumentPresenter.PageDown()

PageUp()

Navigates to the previous page.

Declaration

cs-api-definition
public void PageUp()

Implements IFixedDocumentPresenter.PageUp()

PaintChildren(IGraphics, Rectangle, float, SizeF, bool)

Overrides the default painting behavior to handle page rendering and pre-rendering. Stops pre-rendering during painting and restarts it afterward for multi-page documents.

Declaration

cs-api-definition
protected override void PaintChildren(IGraphics graphics, Rectangle clipRectange, float angle, SizeF scale, bool useRelativeTransformation)

Parameters

graphics

IGraphics

The graphics context to paint on.

clipRectange

Rectangle

The clipping rectangle defining the area to paint.

angle

float

The rotation angle to apply.

scale

SizeF

The scaling factor to apply.

useRelativeTransformation

bool

Whether to use relative transformations.

Overrides VisualElement.PaintChildren(IGraphics, Rectangle, float, SizeF, bool)

Print()

Directly prints the RadPdfViewer content to the default printer without showing settings dialog. This is a convenience method that calls Print(false).

Declaration

cs-api-definition
public virtual void Print()

Print(bool)

Prints the RadPdfViewer content to the default printer, optionally showing the printer settings dialog.

Declaration

cs-api-definition
public virtual void Print(bool showPrinterSettings)

Parameters

showPrinterSettings

bool

True to display the printer settings dialog before printing; false to print directly with default settings.

Print(bool, RadPrintDocument)

Prints the RadPdfViewer content using a specified print document, optionally showing the printer settings dialog.

Declaration

cs-api-definition
public virtual void Print(bool showPrinterSettings, RadPrintDocument document)

Parameters

showPrinterSettings

bool

True to display the printer settings dialog before printing; false to print directly with current settings.

document

RadPrintDocument

The RadPrintDocument instance used to control the print process and settings.

PrintPreview()

Shows a print preview dialog for the RadPdfViewer content with default margins set to zero. Creates a new RadPrintDocument with appropriate orientation settings.

Declaration

cs-api-definition
public virtual void PrintPreview()

PrintPreview(RadPrintDocument)

Shows a print preview dialog for the RadPdfViewer content using a specified print document.

Declaration

cs-api-definition
public virtual void PrintPreview(RadPrintDocument document)

Parameters

document

RadPrintDocument

The RadPrintDocument instance used to control the print process and settings.

ProcessCaptureLost()

Processes the CaptureLost event that occurs when the element loses mouse capture. This ensures that any ongoing mouse operations are properly terminated.

Declaration

cs-api-definition
public virtual bool ProcessCaptureLost()

Returns

bool

True if the event should not be processed further; false to allow normal event propagation.

ProcessKeyDown(KeyEventArgs)

Processes key down events to handle keyboard navigation and interaction with the PDF document. Handles arrow keys for navigation, Home/End for document positioning, and Page Up/Down for page navigation.

Declaration

cs-api-definition
public virtual bool ProcessKeyDown(KeyEventArgs e)

Parameters

e

KeyEventArgs

The key event arguments containing the pressed key information.

Returns

bool

True if the event should not be processed further; false to allow normal event propagation.

ProcessMouseDown(MouseEventArgs, bool, bool)

Processes mouse down events to handle interactions with the PDF document. Handles right-clicks for context menu, middle-clicks for panning, and left-clicks for selection and navigation.

Declaration

cs-api-definition
public virtual bool ProcessMouseDown(MouseEventArgs e, bool shift, bool control)

Parameters

e

MouseEventArgs

The mouse event arguments containing position and button information.

shift

bool

True if the Shift key was pressed during the mouse event; otherwise, false.

control

bool

True if the Control key was pressed during the mouse event; otherwise, false.

Returns

bool

True if the event should not be processed further; false to allow normal event propagation.

ProcessMouseMove(MouseEventArgs, bool, bool)

Processes mouse move events to handle interactions with the PDF document. Updates the cursor appearance and tracks mouse movements for selection and other operations.

Declaration

cs-api-definition
public virtual bool ProcessMouseMove(MouseEventArgs e, bool shift, bool control)

Parameters

e

MouseEventArgs

The mouse event arguments containing position and button information.

shift

bool

True if the Shift key was pressed during the mouse event; otherwise, false.

control

bool

True if the Control key was pressed during the mouse event; otherwise, false.

Returns

bool

True if the event should not be processed further; false to allow normal event propagation.

ProcessMouseUp(MouseEventArgs, bool, bool)

Processes mouse up events to complete interactions with the PDF document. Handles the completion of middle-button panning and left-button selections or clicks.

Declaration

cs-api-definition
public virtual bool ProcessMouseUp(MouseEventArgs e, bool shift, bool control)

Parameters

e

MouseEventArgs

The mouse event arguments containing position and button information.

shift

bool

True if the Shift key was pressed during the mouse event; otherwise, false.

control

bool

True if the Control key was pressed during the mouse event; otherwise, false.

Returns

bool

True if the event should not be processed further; false to allow normal event propagation.

ProcessMouseWheel(MouseEventArgs, bool, bool)

Processes mouse wheel events to handle zooming and scrolling in the PDF document. When Control key is pressed, zooms in or out; otherwise, scrolls the document vertically.

Declaration

cs-api-definition
public virtual bool ProcessMouseWheel(MouseEventArgs e, bool shift, bool control)

Parameters

e

MouseEventArgs

The mouse event arguments containing the wheel delta information.

shift

bool

True if the Shift key was pressed during the mouse event; otherwise, false.

control

bool

True if the Control key was pressed during the mouse event; otherwise, false.

Returns

bool

True if the event should not be processed further; false to allow normal event propagation.

Rotate(RotationAngle)

Rotates all pages in the document to the specified angle. Clears the page cache and rebuilds the view to reflect the new rotation.

Declaration

cs-api-definition
public void Rotate(RotationAngle angle)

Parameters

angle

RotationAngle

The angle to rotate the pages to.

SaveDocument(Stream)

Saves the current PDF document to a stream, including any changes made through form field editing or annotations.

Declaration

cs-api-definition
public bool SaveDocument(Stream outputStream)

Parameters

outputStream

Stream

The stream where the PDF data should be written.

Returns

bool

True if the document was successfully saved; otherwise, false.

SaveDocument(string)

Saves the current PDF document to a file, including any changes made through form field editing or annotations.

Declaration

cs-api-definition
public bool SaveDocument(string fileName)

Parameters

fileName

string

The full path where the PDF file should be saved.

Returns

bool

True if the document was successfully saved; otherwise, false.

Scroll(double?, double?)

Scrolls the view with a specified offset.

Declaration

cs-api-definition
public void Scroll(double? offsetX, double? offsetY)

Parameters

offsetX

double?

The offset by X.

offsetY

double?

The offset by Y.

Implements IFixedDocumentPresenter.Scroll(double?, double?)

ScrollTo(double?, double?)

Scrolls to a specified position.

Declaration

cs-api-definition
public void ScrollTo(double? x, double? y)

Parameters

x

double?

The x coordinate of the position.

y

double?

The y coordinate of the position.

Implements IFixedDocumentPresenter.ScrollTo(double?, double?)

Select(SearchResult)

Creates a text selection in the document based on a search result. Also scrolls the view to ensure the start position of the search result is visible.

Declaration

cs-api-definition
public void Select(SearchResult result)

Parameters

result

SearchResult

The search result containing the text range to select.

Select(TextPosition, TextPosition)

Creates a text selection in the document from the specified start position to end position. Also scrolls the view to ensure the start position is visible.

Declaration

cs-api-definition
public void Select(TextPosition startPosition, TextPosition endPosition)

Parameters

startPosition

TextPosition

The starting text position of the selection.

endPosition

TextPosition

The ending text position of the selection.

SelectAll()

Selects all text content in the document. This will select all readable text across all pages in the document.

Declaration

cs-api-definition
public void SelectAll()

ShowCaret()

Shows the text caret indicator on the current page. Only works when text operations are supported in the current document.

Declaration

cs-api-definition
public void ShowCaret()

Implements IFixedDocumentPresenter.ShowCaret()

ShowMenu(Point)

Shows the currently assigned context menu at the specified position within the viewer.

Declaration

cs-api-definition
public void ShowMenu(Point location)

Parameters

location

Point

The point coordinates where the context menu should be displayed.

ShowPasswordRequireDialog()

Shows a dialog prompting the user for a password when opening a password-protected PDF. Can be canceled through the PasswordRequireDialogShowing event.

Declaration

cs-api-definition
protected virtual string ShowPasswordRequireDialog()

Returns

string

The password entered by the user, or an empty string if canceled or no password was entered.

ShowSignSignatureDialog(SignatureField)

Shows a dialog allowing the user to sign a signature field in the document. Can be canceled through the SignSignatureDialogShowing event.

Declaration

cs-api-definition
protected virtual void ShowSignSignatureDialog(SignatureField signatureField)

Parameters

signatureField

SignatureField

The signature field to be signed.

ShowSignatureDialog(SignatureField)

Shows a dialog displaying information about a signature field and its validation status. Can be canceled through the SignatureDialogShowing event.

Declaration

cs-api-definition
protected bool ShowSignatureDialog(SignatureField signatureField)

Parameters

signatureField

SignatureField

The signature field to display information about.

Returns

bool

True if the dialog was shown or canceled; false if there were no signatures to validate.

ShowSignaturePanel()

Shows the signature panel if the document contains digital signatures. The panel displays information about the signatures and their validation status.

Declaration

cs-api-definition
public void ShowSignaturePanel()

StartWaiting()

Displays the loading indicator to show that an operation is in progress. Use this method before starting time-consuming operations to provide visual feedback to the user.

Declaration

cs-api-definition
public void StartWaiting()

StopWaiting()

Hides the loading indicator to show that an operation has completed. Call this method after a time-consuming operation completes to remove the visual feedback.

Declaration

cs-api-definition
public void StopWaiting()

UnloadDocument()

Unloads the current document and releases all associated resources. Clears document content, disposes all page elements, and resets the viewer state.

Declaration

cs-api-definition
public void UnloadDocument()

UnwireDocumentEvents()

Called when a document is being unloaded to remove event handlers associated with the document. Disconnects from selection, caret position, annotation, and exception events to prevent memory leaks.

Declaration

cs-api-definition
protected virtual void UnwireDocumentEvents()

UnwireEvents()

Unwires all event handlers to prevent memory leaks. Removes event handlers related to PDF document importing.

Declaration

cs-api-definition
protected override void UnwireEvents()

Overrides VirtualizedScrollPanel<RadFixedPage, RadFixedPageElement>.UnwireEvents()

UpdateOnMeasure(SizeF)

Updates the element during the measure phase of the layout cycle. Adjusts horizontal scrollbar properties based on content size and scroll state.

Declaration

cs-api-definition
protected override bool UpdateOnMeasure(SizeF availableSize)

Parameters

availableSize

SizeF

The available size for the element.

Returns

bool

True if the layout should be updated; otherwise, false.

Overrides VirtualizedScrollPanel<RadFixedPage, RadFixedPageElement>.UpdateOnMeasure(SizeF)

UpdatePresenterLayout()

Updates the layout.

Declaration

cs-api-definition
public void UpdatePresenterLayout()

Implements IFixedDocumentPresenter.UpdatePresenterLayout()

WireDocumentEvents()

Called when a document is being loaded to attach event handlers to the document. Connects to selection, caret position, annotation, and exception events to enable proper document interaction.

Declaration

cs-api-definition
protected virtual void WireDocumentEvents()

Events

AnnotationClicked

Fires when a link or a bookmark was clicked.

Declaration

cs-api-definition
public event EventHandler<AnnotationEventArgs> AnnotationClicked

Event Value

EventHandler<AnnotationEventArgs>

CaretPositionChanged

Fires when the caret changes its position.

Declaration

cs-api-definition
public event EventHandler CaretPositionChanged

Event Value

EventHandler

CurrentPageChanged

Fires after the current RadFixedPage has been changed.

Declaration

cs-api-definition
public event CurrentPageChangedEventHandler CurrentPageChanged

Event Value

CurrentPageChangedEventHandler

DataError

Fires 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.

Declaration

cs-api-definition
[Browsable(true)]
public event PdfExceptionEventHandler DataError

Event Value

PdfExceptionEventHandler

DocumentLoaded

Fires when the document finishes loading.

Declaration

cs-api-definition
public event EventHandler DocumentLoaded

Event Value

EventHandler

DocumentUnloaded

Fires when the document is unloaded.

Declaration

cs-api-definition
public event EventHandler DocumentUnloaded

Event Value

EventHandler

FitFullPageChanged

Fires when the FitFullPage property has changed.

Declaration

cs-api-definition
public event EventHandler FitFullPageChanged

Event Value

EventHandler

FitToWidthChanged

Fires when the FitToWidth property has changed.

Declaration

cs-api-definition
public event EventHandler FitToWidthChanged

Event Value

EventHandler

HyperlinkClicked

Occurs when the hyperlink is clicked.

Declaration

cs-api-definition
public event EventHandler<HyperlinkClickedEventArgs> HyperlinkClicked

Event Value

EventHandler<HyperlinkClickedEventArgs>

PageElementCreating

Fires when a RadFixedPageElement is being created. Allows for replacing it with custom page element.

Declaration

cs-api-definition
public event RadFixedPageElementEventHandler PageElementCreating

Event Value

RadFixedPageElementEventHandler

PageRenderCompleted

Fires when a RadFixedPageElement has been asynchronously rendered.

Declaration

cs-api-definition
public event EventHandler PageRenderCompleted

Event Value

EventHandler

PageRenderStarted

Fires when a RadFixedPageElement is about to be asynchronously rendered.

Declaration

cs-api-definition
public event EventHandler PageRenderStarted

Event Value

EventHandler

PasswordRequireDialogShowing

Declaration

cs-api-definition
public event EventHandler<PasswordRequireDialogShowingEventArgs> PasswordRequireDialogShowing

Event Value

EventHandler<PasswordRequireDialogShowingEventArgs>

PdfSignaturePanelVisibilityChanged

Occurs when the visibility of the PDF signature panel changes.

Declaration

cs-api-definition
public event EventHandler PdfSignaturePanelVisibilityChanged

Event Value

EventHandler

ScaleFactorChanged

Fires when the ScaleFactor property has changed.

Declaration

cs-api-definition
public event EventHandler ScaleFactorChanged

Event Value

EventHandler

SelectionChanged

Fires when the text selection has changed.

Declaration

cs-api-definition
public event EventHandler SelectionChanged

Event Value

EventHandler

SignSignatureDialogShowing

Declaration

cs-api-definition
public event EventHandler<SignSignatureDialogShowingEventArgs> SignSignatureDialogShowing

Event Value

EventHandler<SignSignatureDialogShowingEventArgs>

SignatureDialogShowing

Declaration

cs-api-definition
public event EventHandler<SignatureDialogShowingEventArgs> SignatureDialogShowing

Event Value

EventHandler<SignatureDialogShowingEventArgs>

ViewerModeChanged

Fires when the ViewerMode property has changed.

Declaration

cs-api-definition
public event EventHandler ViewerModeChanged

Event Value

EventHandler

In this article
DefinitionConstructorsRadPdfViewerElement()PropertiesAISummaryModelAllowSignSignatureDialogAllowSignatureDialogAnnotationsAnnotationsColorAsyncRenderCacheCapacityCachePaintCanScrollHorizontallyCanScrollVerticallyContextMenuCurrentPageDocumentEnableAISummaryFitFullPageFitToWidthHorizontalScrollStateImportSettingsModeMouseControllerMouseHandlersControllerPdfNavigationBehaviorPrintOrientationPrintScalePageToPaperSizeReadingModeRotateAngleScaleFactorSelectionColorSignatureValidationPropertiesSummaryProviderUseBufferedPrintingVerticalScrollStateMethodsArrangeOverride(SizeF)BringIntoView(TextPosition)Copy()CreateChildElements()CreateElementProvider()CreateItemScroller()CreatePageElement(RadFixedPage, object)CreateViewElement()DeselectAll()DisposeManagedResources()ExportPage(int, double, bool, ImageFormat)ExportPage(int, string, double, bool, ImageFormat)ExportPages(double, bool, ImageFormat)ExportPages(string, double, bool, ImageFormat)Find(string)Find(string, TextSearchOptions)Find(string, TextSearchOptions, TextPosition)Find(string, TextSearchOptions, TextRange)Find(string, int)FindAll(string)FindAll(string, TextSearchOptions)FindAll(string, TextSearchOptions, TextPosition)FindAll(string, TextSearchOptions, TextRange)FindPrevious(string)FindPrevious(string, TextSearchOptions)FindPrevious(string, TextSearchOptions, TextPosition)FindPrevious(string, TextSearchOptions, TextRange)FitFullPageCore()FitPageToWidthCore()GetDocumentAsStream()GetFocusedPage()GetLocationFromViewPoint(Point, out RadFixedPage, out Point)GetPageElement(RadFixedPage)GetPageVerticalOffset(RadFixedPage)GetScrollOffset()GetSelectedText()GetSelectedTextAsync()GetViewPointFromTextPosition(TextPosition)GoToDestination(Destination)GoToPage(int)HideCaret()HideSignaturePanel()InvalidatePage(RadFixedPage)InvalidatePages()IsWaiting()LoadDocument(RadFixedDocument)LoadDocument(Stream)LoadDocument(string)MeasureOverride(SizeF)MoveToNextEditor()MoveToPreviousEditor()OnAnnotationClicked(AnnotationEventArgs)OnBoundsChanged(RadPropertyChangedEventArgs)OnCaretPositionChanged()OnCurrenPageChanged(CurrentPageChangedEventArgs)OnDataError(object, PdfExceptionEventArgs)OnDocumentLoaded()OnDocumentUnloaded()OnFitFullPageChanged(EventArgs)OnFitToWidthChanged(EventArgs)OnPageElementCreating(RadFixedPageElementEventArgs)OnPanGesture(PanGestureEventArgs)OnScaleFactorChanged()OnSelectionChanged()OnViewerModeChanged()OnZoomGesture(ZoomGestureEventArgs)PageDown()PageUp()PaintChildren(IGraphics, Rectangle, float, SizeF, bool)Print()Print(bool)Print(bool, RadPrintDocument)PrintPreview()PrintPreview(RadPrintDocument)ProcessCaptureLost()ProcessKeyDown(KeyEventArgs)ProcessMouseDown(MouseEventArgs, bool, bool)ProcessMouseMove(MouseEventArgs, bool, bool)ProcessMouseUp(MouseEventArgs, bool, bool)ProcessMouseWheel(MouseEventArgs, bool, bool)Rotate(RotationAngle)SaveDocument(Stream)SaveDocument(string)Scroll(double?, double?)ScrollTo(double?, double?)Select(SearchResult)Select(TextPosition, TextPosition)SelectAll()ShowCaret()ShowMenu(Point)ShowPasswordRequireDialog()ShowSignSignatureDialog(SignatureField)ShowSignatureDialog(SignatureField)ShowSignaturePanel()StartWaiting()StopWaiting()UnloadDocument()UnwireDocumentEvents()UnwireEvents()UpdateOnMeasure(SizeF)UpdatePresenterLayout()WireDocumentEvents()EventsAnnotationClickedCaretPositionChangedCurrentPageChangedDataErrorDocumentLoadedDocumentUnloadedFitFullPageChangedFitToWidthChangedHyperlinkClickedPageElementCreatingPageRenderCompletedPageRenderStartedPasswordRequireDialogShowingPdfSignaturePanelVisibilityChangedScaleFactorChangedSelectionChangedSignSignatureDialogShowingSignatureDialogShowingViewerModeChanged
Not finding the help you need?
Contact Support