SftPrintPreview/OCX 1.0

SftPrintPreview.WantPrintDialog Property

Softel vdm, Inc.

Defines whether the Print Dialog is shown or whether printing starts immediately when the tool bar Print button is clicked.

Syntax       

Get

VB.NET

Boolean = object.WantPrintDialog  As Boolean

VB

Boolean = object.WantPrintDialog  As Boolean

C#.NET

bool Boolean = object.WantPrintDialog;

VC++

VARIANT_BOOL Boolean = object->WantPrintDialog;
VARIANT_BOOL Boolean = object->GetWantPrintDialog();

C

HRESULT object->get_WantPrintDialog(VARIANT_BOOL* Boolean);

Delphi

Boolean := object.WantPrintDialog   : WordBool;

Put

VB.NET

object.WantPrintDialog = Boolean  As Boolean

VB

object.WantPrintDialog = Boolean  As Boolean

C#.NET

bool object.WantPrintDialog = Boolean;

VC++

VARIANT_BOOL object->WantPrintDialog = Boolean;
void object->PutWantPrintDialog(VARIANT_BOOL Boolean);

C

HRESULT object->put_WantPrintDialog(VARIANT_BOOL Boolean);

Delphi

object.WantPrintDialog := Boolean   : WordBool;

object

A SftPrintPreview object.

Boolean

Defines whether the Print Dialog is shown or whether printing starts immediately when the tool bar Print button is clicked.

Boolean

Description

True

The Print dialog is shown.

False

Printing starts immediately and the Print dialog is not shown.

Comments

The WantPrintDialog property defines whether the Print Dialog is shown or whether printing starts immediately when the tool bar Print button is clicked.


Feedback / comments / error reports for this topic
© 2004 - Softel vdm, Inc. - www.windowscontrols.com