[]
        
(Showing Draft Content)

C1.Win.FlexPivot.C1FlexPivotPrintPreviewDialog

C1FlexPivotPrintPreviewDialog Class

Represents a dialog used to preview and print PrintDocument objects.

Namespace: C1.Win.FlexPivot
Assembly: C1.Win.FlexPivot.4.8.dll
Syntax
[ToolboxBitmap(typeof(C1FlexPivotPrintPreviewDialog), "C1FlexPivotPrintPreviewDialog.png")]
public class C1FlexPivotPrintPreviewDialog : Form, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IContainerControl
Remarks

This dialog is similar to the standard PrintPreviewDialog but provides additional options such printer and page setup buttons, a better UI based on the ToolStrip control, and built-in PDF export.

Constructors

Name Description
C1FlexPivotPrintPreviewDialog()

Initializes a new instance of a C1FlexPivotPrintPreviewDialog.

C1FlexPivotPrintPreviewDialog(Control)

Initializes a new instance of a C1FlexPivotPrintPreviewDialog.

Properties

Name Description
Document

Gets or sets the PrintDocument to preview.

Methods

Name Description
ApplyTheme(object)

Changes the dialog theme.

Dispose(bool)

Clean up any resources being used.

OnFontChanged(EventArgs)

Overriden to update the toolbar size.

OnFormClosing(FormClosingEventArgs)

Overridden to cancel any ongoing previews when closing form.

OnShown(EventArgs)

Overridden to assign document to preview control only after the initial activation.