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, ISupportRootUIAutomation
Inheritance: objectMarshalByRefObjectComponentControlScrollableControlContainerControlFormRadFormControlBaseRadFormRadPrintPreviewDialog...
Implements:
Inherited Members
Constructors
public RadPrintPreviewDialog()
Fields
protected CommandBarButton buttonNextPage
protected CommandBarButton buttonPrevPage
protected CommandBarButton buttonPrint
protected CommandBarButton buttonSettings
protected CommandBarButton buttonZoomIn
protected CommandBarButton buttonZoomOut
protected CommandBarButton commandBarButtonWatermark
protected CommandBarDropDownButton dropDownButtonLayout
protected CommandBarDropDownList dropDownZoom
protected CommandBarLabel labelTotalPages
protected ZoomMenuItem menuItemZoom
protected RadPrintPreviewControl printPreviewControl
protected CommandBarTextBox textBoxCurrentPage
Properties
Gets or sets the that should be previewed.
[Browsable(false)]
public RadPrintDocument Document { get; set; }
Gets the PrintDialog that is shown by this dialog.
[Browsable(false)]
public PrintDialog PrintDialog { get; }
Gets the RadCommandBar instance of the form.
[Browsable(false)]
public RadCommandBar ToolCommandBar { get; }
Gets the RadMenu instance of the form.
[Browsable(false)]
public RadMenu ToolMenu { get; }
Gets the WatermarkPreviewDialog that is shown by this dialog.
[Browsable(false)]
public WatermarkPreviewDialog WatermarkDialog { get; }
Methods
Clean up any resources being used.
protected override void Dispose(bool disposing)
true if managed resources should be disposed; otherwise, false.
Overrides:
Localizes the strings in the dialog with strings from the current
protected virtual void LocalizeStrings()
protected virtual void OnShowPrintDialog()
protected virtual void OnShowPrintSettingsDialog()
protected virtual void OnShowWatermarkDialog()
Scrolls the preview with a specified offset.
Sets the zoom factor of the preview.
protected virtual void UnwireEvents()