SftPrintPreview/OCX 1.0

SftPrintPreview.PrinterSetup Method

Softel vdm, Inc.

Invokes the Print Setup dialog.

Syntax       

VB.NET

object.PrinterSetup(ByVal Handle As Integer)

VB

object.PrinterSetup(ByVal Handle As Long)

C#.NET

void object.PrinterSetup(int Handle);

VC++

HRESULT object->PrinterSetup(long Handle);

C

HRESULT object->raw_PrinterSetup(long Handle);

Delphi

procedure object.PrinterSetup(Handle : Integer);

object

A SftPrintPreview object.

Handle

The window handle of the application's main window, which serves as the parent window for the Print Setup dialog.  If 0 is specified, the application's main window is determined automatically.

Comments

The PrinterSetup method invokes the Print Setup dialog.

If the user modifies printer settings, the PrinterChanged even occurs.


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