skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Test Studio Dev Edition Telerik JustMock

    CMS

    Sitefinity

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class RadPrintPreviewDialog

A dialog for previwing and setting before printing.

Inheritance
System.Object
RadFormControlBase
RadForm
RadPrintPreviewDialog
Inherited Members
RadForm.ScrollToControl(Control)
RadForm.EndInit()
RadForm.ProcessCaptureChangeRequested(RadElement, Boolean)
RadForm.InitializeFormBehavior()
RadForm.SetIconPrimitiveVisibility(Boolean)
RadForm.Text
RadForm.ThemeClassName
RadForm.FormElement
RadForm.IconScaling
RadForm.AllowTheming
RadForm.ShowIcon
RadFormControlBase.newBounds
RadFormControlBase.oldDpi
RadFormControlBase.currentDpi
RadFormControlBase.isBehaviorPrepared
RadFormControlBase.controlIsInitializingRootComponent
RadFormControlBase.isPainting
RadFormControlBase.Construct()
RadFormControlBase.GetUseNewLayout()
RadFormControlBase.OnCreateControl()
RadFormControlBase.LoadElementTree()
RadFormControlBase.LoadElementTree(Size)
RadFormControlBase.OnLoad(Size)
RadFormControlBase.OnPaint(PaintEventArgs)
RadFormControlBase.OnPaintBackground(PaintEventArgs)
RadFormControlBase.ProcessDialogKey(Keys)
RadFormControlBase.UpdateDefaultButton()
RadFormControlBase.ShouldSerializeBackColor()
RadFormControlBase.OnBackColorChanged(EventArgs)
RadFormControlBase.ShouldSerializeForeColor()
RadFormControlBase.OnForeColorChanged(EventArgs)
RadFormControlBase.ShouldSerializeFont()
RadFormControlBase.OnFontChanged(EventArgs)
RadFormControlBase.OnParentChanged(EventArgs)
RadFormControlBase.ShouldSerializeProperty(RadProperty)
RadFormControlBase.ResetFormBehavior(Boolean)
RadFormControlBase.WndProc(Message)
RadFormControlBase.PerformDesignModeLocationCorrection(Message)
RadFormControlBase.CallBaseWndProc(Message)
RadFormControlBase.IComponentTreeHandler.GetAmbientPropertyValue(RadProperty)
RadFormControlBase.IComponentTreeHandler.OnAmbientPropertyChanged(RadProperty)
RadFormControlBase.IComponentTreeHandler.OnFocusRequested(RadElement)
RadFormControlBase.IComponentTreeHandler.OnCaptureChangeRequested(RadElement, Boolean)
RadFormControlBase.ProcessFocusRequested(RadElement)
RadFormControlBase.OnNotifyPropertyChanged(String)
RadFormControlBase.OnNotifyPropertyChanged(PropertyChangedEventArgs)
RadFormControlBase.CreateChildItems(RadElement)
RadFormControlBase.CreateRootElement()
RadFormControlBase.OnThemeNameChanged(ThemeNameChangedEventArgs)
RadFormControlBase.OnThemeChanged()
RadFormControlBase.OnDisplayPropertyChanged(RadPropertyChangedEventArgs)
RadFormControlBase.OnToolTipTextNeeded(Object, ToolTipTextNeededEventArgs)
RadFormControlBase.OnHandleCreated(EventArgs)
RadFormControlBase.OnVisibleChanged(EventArgs)
RadFormControlBase.IComponentTreeHandler.InitializeRootElement(RootRadElement)
RadFormControlBase.IComponentTreeHandler.CreateRootElement()
RadFormControlBase.IComponentTreeHandler.CreateChildItems(RadElement)
RadFormControlBase.IComponentTreeHandler.CallOnThemeNameChanged(ThemeNameChangedEventArgs)
RadFormControlBase.OnAutoSizeChanged(EventArgs)
RadFormControlBase.OnLayout(LayoutEventArgs)
RadFormControlBase.CreateHandle()
RadFormControlBase.SetClientSizeCore(Int32, Int32)
RadFormControlBase.SetBoundsCore(Int32, Int32, Int32, Int32, BoundsSpecified)
RadFormControlBase.GetPreferredSize(Size)
RadFormControlBase.InvalidateIfNotSuspended()
RadFormControlBase.IComponentTreeHandler.OnDisplayPropertyChanged(RadPropertyChangedEventArgs)
RadFormControlBase.IComponentTreeHandler.CallOnMouseCaptureChanged(EventArgs)
RadFormControlBase.IComponentTreeHandler.CallOnToolTipTextNeeded(Object, ToolTipTextNeededEventArgs)
RadFormControlBase.InvalidateElement(RadElement)
RadFormControlBase.InvalidateElement(RadElement, Rectangle)
RadFormControlBase.AddInvalidatedRect(Rectangle)
RadFormControlBase.SuspendUpdate()
RadFormControlBase.ResumeUpdate()
RadFormControlBase.ResumeUpdate(Boolean)
RadFormControlBase.RegisterHostedControl(RadHostItem)
RadFormControlBase.UnregisterHostedControl(RadHostItem, Boolean)
RadFormControlBase.ControlDefinesThemeForElement(RadElement)
RadFormControlBase.OnScreenTipNeeded(Object, ScreenTipNeededEventArgs)
RadFormControlBase.IComponentTreeHandler.CallOnScreenTipNeeded(Object, ScreenTipNeededEventArgs)
RadFormControlBase.ControlThemeChangedCallback()
RadFormControlBase.IComponentTreeHandler.GetShowFocusCues()
RadFormControlBase.InvokeLayoutCallback(LayoutCallback)
RadFormControlBase.BeginInit()
RadFormControlBase.HandleDpiChanged()
RadFormControlBase.ScaleControl(SizeF, BoundsSpecified)
RadFormControlBase.SuspendDpiScaling()
RadFormControlBase.ResumeDpiScaling()
RadFormControlBase.OnWm_SettingChange(Message)
RadFormControlBase.IComponentTreeHandler.get_Name()
RadFormControlBase.IComponentTreeHandler.set_Name(String)
RadFormControlBase.Site
RadFormControlBase.AnalyticsName
RadFormControlBase.EnableAnalytics
RadFormControlBase.IsLoaded
RadFormControlBase.MaximumSize
RadFormControlBase.MinimumSize
RadFormControlBase.FormBorderStyle
RadFormControlBase.FormBehavior
RadFormControlBase.Behavior
RadFormControlBase.SmallImageList
RadFormControlBase.FocusedElement
RadFormControlBase.AllowShowFocusCues
RadFormControlBase.ShowItemToolTips
RadFormControlBase.CommandBindings
RadFormControlBase.EnableKeyMap
RadFormControlBase.WindowsSettings
RadFormControlBase.BackColor
RadFormControlBase.ForeColor
RadFormControlBase.Font
RadFormControlBase.CreateParams
RadFormControlBase.IsDesignMode
RadFormControlBase.ElementTree
RadFormControlBase.IComponentTreeHandler.Behavior
RadFormControlBase.IComponentTreeHandler.ThemeClassName
RadFormControlBase.ThemeName
RadFormControlBase.RootElement
RadFormControlBase.IsUpdateSuspended
RadFormControlBase.IComponentTreeHandler.SmallImageList
RadFormControlBase.ImageList
RadFormControlBase.SmallImageScalingSize
RadFormControlBase.ImageScalingSize
RadFormControlBase.IComponentTreeHandler.Initializing
RadFormControlBase.LayoutManager
RadFormControlBase.IsInitialized
RadFormControlBase.IsPerformingScale
RadFormControlBase.HasOwnToolbar
RadFormControlBase.IsDpiScalingSuspended
RadFormControlBase.ThemeNameChanged
RadFormControlBase.ToolTipTextNeeded
RadFormControlBase.ScreenTipNeeded
RadFormControlBase.Initialized
RadFormControlBase.PropertyChanged
RadFormControlBase.WindowsThemeChanged
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll

Syntax

public class RadPrintPreviewDialog : RadForm, IComponentTreeHandler, ILayoutHandler, ISupportInitializeNotification, ISupportInitialize, INotifyPropertyChanged, IAnalyticsProvider

Constructors

RadPrintPreviewDialog()

Declaration
public RadPrintPreviewDialog()

RadPrintPreviewDialog(RadPrintDocument)

Declaration
public RadPrintPreviewDialog(RadPrintDocument document)
Parameters
RadPrintDocument document

Fields

buttonNextPage

Declaration
protected CommandBarButton buttonNextPage
Field Value
CommandBarButton

buttonPrevPage

Declaration
protected CommandBarButton buttonPrevPage
Field Value
CommandBarButton

buttonPrint

Declaration
protected CommandBarButton buttonPrint
Field Value
CommandBarButton

buttonSettings

Declaration
protected CommandBarButton buttonSettings
Field Value
CommandBarButton

buttonZoomIn

Declaration
protected CommandBarButton buttonZoomIn
Field Value
CommandBarButton

buttonZoomOut

Declaration
protected CommandBarButton buttonZoomOut
Field Value
CommandBarButton

commandBarButtonWatermark

Declaration
protected CommandBarButton commandBarButtonWatermark
Field Value
CommandBarButton

dropDownButtonLayout

Declaration
protected CommandBarDropDownButton dropDownButtonLayout
Field Value
CommandBarDropDownButton

dropDownZoom

Declaration
protected CommandBarDropDownList dropDownZoom
Field Value
CommandBarDropDownList

labelTotalPages

Declaration
protected CommandBarLabel labelTotalPages
Field Value
CommandBarLabel

menuItemZoom

Declaration
protected ZoomMenuItem menuItemZoom
Field Value
ZoomMenuItem

printPreviewControl

Declaration
protected RadPrintPreviewControl printPreviewControl
Field Value
RadPrintPreviewControl

textBoxCurrentPage

Declaration
protected CommandBarTextBox textBoxCurrentPage
Field Value
CommandBarTextBox

Properties

Document

Gets or sets the that should be previewed.

Declaration
public RadPrintDocument Document { get; set; }
Property Value
RadPrintDocument

PrintDialog

Gets the PrintDialog that is shown by this dialog.

Declaration
public PrintDialog PrintDialog { get; }
Property Value
System.Windows.Forms.PrintDialog

ToolCommandBar

Gets the RadCommandBar instance of the form.

Declaration
public RadCommandBar ToolCommandBar { get; }
Property Value
RadCommandBar

ToolMenu

Gets the RadMenu instance of the form.

Declaration
public RadMenu ToolMenu { get; }
Property Value
RadMenu

WatermarkDialog

Gets the WatermarkPreviewDialog that is shown by this dialog.

Declaration
public WatermarkPreviewDialog WatermarkDialog { get; }
Property Value
WatermarkPreviewDialog

Methods

CreatePrintDialog()

Declaration
protected virtual PrintDialog CreatePrintDialog()
Returns
System.Windows.Forms.PrintDialog

CreateWatermarkDialog()

Declaration
protected virtual WatermarkPreviewDialog CreateWatermarkDialog()
Returns
WatermarkPreviewDialog

Dispose(Boolean)

Clean up any resources being used.

Declaration
protected override void Dispose(bool disposing)
Parameters
System.Boolean disposing

true if managed resources should be disposed; otherwise, false.

Overrides
RadForm.Dispose(Boolean)

LocalizeStrings()

Localizes the strings in the dialog with strings from the current

Declaration
protected virtual void LocalizeStrings()

OnLoad(EventArgs)

Declaration
protected override void OnLoad(EventArgs e)
Parameters
System.EventArgs e

Overrides
RadForm.OnLoad(EventArgs)

OnShown(EventArgs)

Declaration
protected override void OnShown(EventArgs e)
Parameters
System.EventArgs e

Overrides
RadFormControlBase.OnShown(EventArgs)

OnShowPrintDialog()

Declaration
protected virtual void OnShowPrintDialog()

OnShowPrintSettingsDialog()

Declaration
protected virtual void OnShowPrintSettingsDialog()

OnShowWatermarkDialog()

Declaration
protected virtual void OnShowWatermarkDialog()

ProcessCmdKey(ref Message, Keys)

Declaration
protected override bool ProcessCmdKey(ref Message msg, Keys keyData)
Parameters
System.Windows.Forms.Message msg

System.Windows.Forms.Keys keyData

Returns
System.Boolean

ScrollWith(Point)

Scrolls the preview with a specified offset.

Declaration
public void ScrollWith(Point offset)
Parameters
System.Drawing.Point offset

The offset.

SetZoom(Double)

Sets the zoom factor of the preview.

Declaration
public void SetZoom(double factor)
Parameters
System.Double factor

The zoom factor.

UnwireEvents()

Declaration
protected virtual void UnwireEvents()

Extension Methods

SvgExtentions.Traverse<T>(T, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(T, Func<T, IEnumerable<T>>)
Getting Started
  • Install Now
  • Demos
  • Step-by-Step Tutorial
  • Sample Applications
  • SDK Samples
  • Visual Studio Extensions
Support Resources
  • Code Library
  • Knowledge Base
  • Videos
Community
  • Forums
  • Blogs
  • Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.