Table of Contents

Method ExecutePrintPreviewDialog

Namespace
Alternet.Editor
Assembly
Alternet.Editor.v9.dll

ExecutePrintPreviewDialog()

Initializes and runs print preview dialog.

public virtual DialogResult ExecutePrintPreviewDialog()

Returns

DialogResult

DialogResult.OK if the user clicks OK in the dialog box; otherwise, DialogResult.Cancel.

ExecutePrintPreviewDialog(IWin32Window)

Initializes and runs print preview dialog.

public virtual DialogResult ExecutePrintPreviewDialog(IWin32Window ownerwnd)

Parameters

ownerwnd IWin32Window

Any object that implements IWin32Window that represents the top-level window that will own the modal dialog box.

Returns

DialogResult

DialogResult.OK if the user clicks OK in the dialog box; otherwise, DialogResult.Cancel.