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
Rad
|
Fields
buttonNextPage
buttonPrevPage
buttonPrint
buttonSettings
buttonZoomIn
buttonZoomOut
commandBarButtonWatermark
dropDownButtonLayout
Declaration
protected CommandBarDropDownButton dropDownButtonLayout
Field Value
dropDownZoom
labelTotalPages
menuItemZoom
printPreviewControl
textBoxCurrentPage
Properties
Document
Gets or sets the that should be previewed.
Declaration
public RadPrintDocument Document { get; set; }
Property Value
PrintDialog
Gets the Print
Declaration
public PrintDialog PrintDialog { get; }
Property Value
System.
|
ToolCommandBar
Gets the RadCommandBar instance of the form.
Declaration
public RadCommandBar ToolCommandBar { get; }
Property Value
ToolMenu
Gets the RadMenu instance of the form.
Declaration
public RadMenu ToolMenu { get; }
Property Value
WatermarkDialog
Gets the Watermark
Declaration
public WatermarkPreviewDialog WatermarkDialog { get; }
Property Value
Methods
CreatePrintDialog()
Declaration
protected virtual PrintDialog CreatePrintDialog()
Returns
System.
|
CreateWatermarkDialog()
Declaration
protected virtual WatermarkPreviewDialog CreateWatermarkDialog()
Returns
Dispose(Boolean)
Clean up any resources being used.
Declaration
protected override void Dispose(bool disposing)
Parameters
System. 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.
|
Overrides
OnShown(EventArgs)
Declaration
protected override void OnShown(EventArgs e)
Parameters
System.
|
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.
|
System.
|
Returns
System.
|
ScrollWith(Point)
Scrolls the preview with a specified offset.
Declaration
public void ScrollWith(Point offset)
Parameters
System. The offset. |
SetZoom(Double)
Sets the zoom factor of the preview.
Declaration
public void SetZoom(double factor)
Parameters
System. The zoom factor. |
UnwireEvents()
Declaration
protected virtual void UnwireEvents()