A specific to dialog which stands for previewing and setting before printing.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.RadSpreadsheet.dll
Syntax:
public class SpreadsheetPrintPreviewDialog : RadForm, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IContainerControl, IComponentTreeHandler, ILayoutHandler, ISupportInitializeNotification, ISupportInitialize, INotifyPropertyChanged, IAnalyticsProvider, ISupportRootUIAutomation
Inheritance: objectMarshalByRefObjectComponentControlScrollableControlContainerControlFormRadFormControlBaseRadFormSpreadsheetPrintPreviewDialog...
Implements:
Inherited Members
Constructors
Creates the preview dialog shell and hides its Cancel button.
public SpreadsheetPrintPreviewDialog()
Initializes the dialog to preview the print document and its associated Spreadsheet.
public SpreadsheetPrintPreviewDialog(RadPrintDocument printDocument)
Print document whose associated print manager or Spreadsheet supplies the preview content.
Methods
Clean up any resources being used.
protected override void Dispose(bool disposing)
true if managed resources should be disposed; otherwise, false.
Overrides:
Sets the dialog and action labels from the current localization provider.
protected virtual void LocalizeDialog()
Applies the dialog theme, initializes preview controls, and renders the initial page.
protected override void OnLoad(EventArgs e)
Event data for the load operation.
Overrides:
Copies the view model's print, scaling, margin, paper, orientation, and collation choices to their controls.
protected virtual void SyncDropDownsWithModel()
Displays the print document's current page and total page count.
protected virtual void UpdateCurrentPageText()
Renders the current print-document page and scales its image to fit the preview surface.
protected virtual void UpdatePagePreview()
Synchronizes the preview controls and renders the current page when the dialog is not already updating.
protected virtual void UpdatePreview()
Does nothing when no print pages are available.