ClassRadPrintPreviewDialog
A dialog for previwing and setting before printing.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class RadPrintPreviewDialog : RadForm, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IContainerControl, IComponentTreeHandler, ILayoutHandler, ISupportInitializeNotification, ISupportInitialize, INotifyPropertyChanged, IAnalyticsProvider
Inheritance: objectMarshalByRefObjectComponentControlScrollableControlContainerControlFormRadFormControlBaseRadFormRadPrintPreviewDialog
Implements:
Inherited Members
Constructors
RadPrintPreviewDialog()
Declaration
public RadPrintPreviewDialog()
RadPrintPreviewDialog(RadPrintDocument)
Declaration
public RadPrintPreviewDialog(RadPrintDocument document)
Parameters
document
Fields
buttonNextPage
Declaration
protected CommandBarButton buttonNextPage
Field Value
buttonPrevPage
Declaration
protected CommandBarButton buttonPrevPage
Field Value
buttonSettings
Declaration
protected CommandBarButton buttonSettings
Field Value
commandBarButtonWatermark
Declaration
protected CommandBarButton commandBarButtonWatermark
Field Value
dropDownButtonLayout
Declaration
protected CommandBarDropDownButton dropDownButtonLayout
Field Value
dropDownZoom
Declaration
protected CommandBarDropDownList dropDownZoom
Field Value
printPreviewControl
Declaration
protected RadPrintPreviewControl printPreviewControl
Field Value
textBoxCurrentPage
Declaration
protected CommandBarTextBox textBoxCurrentPage
Field Value
Properties
Document
Gets or sets the that should be previewed.
Declaration
[Browsable(false)]
public RadPrintDocument Document { get; set; }
Property Value
PrintDialog
Gets the PrintDialog that is shown by this dialog.
Declaration
[Browsable(false)]
public PrintDialog PrintDialog { get; }
Property Value
ToolCommandBar
Gets the RadCommandBar instance of the form.
Declaration
[Browsable(false)]
public RadCommandBar ToolCommandBar { get; }
Property Value
ToolMenu
Gets the RadMenu instance of the form.
Declaration
[Browsable(false)]
public RadMenu ToolMenu { get; }
Property Value
WatermarkDialog
Gets the WatermarkPreviewDialog that is shown by this dialog.
Declaration
[Browsable(false)]
public WatermarkPreviewDialog WatermarkDialog { get; }
Property Value
Methods
CreateWatermarkDialog()
Declaration
protected virtual WatermarkPreviewDialog CreateWatermarkDialog()
Returns
Dispose(bool)
Clean up any resources being used.
Declaration
protected override void Dispose(bool disposing)
Parameters
disposing
true if managed resources should be disposed; otherwise, false.
Overrides
LocalizeStrings()
Localizes the strings in the dialog with strings from the current
Declaration
protected virtual void LocalizeStrings()
OnLoad(EventArgs)
Raises the Load event and applies any pending theming settings.
OnShowPrintDialog()
Declaration
protected virtual void OnShowPrintDialog()
OnShowPrintSettingsDialog()
Declaration
protected virtual void OnShowPrintSettingsDialog()
OnShowWatermarkDialog()
Declaration
protected virtual void OnShowWatermarkDialog()
OnShown(EventArgs)
Declaration
protected override void OnShown(EventArgs e)
Parameters
e
Overrides
ScrollWith(Point)
Scrolls the preview with a specified offset.
Declaration
public void ScrollWith(Point offset)
Parameters
offset
The offset.
SetZoom(double)
Sets the zoom factor of the preview.
Declaration
public void SetZoom(double factor)
Parameters
factor
The zoom factor.
UnwireEvents()
Declaration
protected virtual void UnwireEvents()