Class RadPrintPreviewDialog
A dialog for previwing and setting before printing.
Inherited Members
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
buttonPrevPage
buttonPrint
buttonSettings
buttonZoomIn
buttonZoomOut
commandBarButtonWatermark
dropDownButtonLayout
Declaration
protected CommandBarDropDownButton dropDownButtonLayout
Field Value
CommandBarDropDownButton
|
dropDownZoom
labelTotalPages
menuItemZoom
printPreviewControl
textBoxCurrentPage
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
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
OnShown(EventArgs)
Declaration
protected override void OnShown(EventArgs e)
Parameters
System.EventArgs
e
|
Overrides
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()