SftPrintPreview/OCX 1.0

SftPrintPreview.PageSetup Method

Softel vdm, Inc.

Invokes the Page Setup dialog.

Syntax       

VB.NET

object.PageSetup(ByVal Handle As Integer)

VB

object.PageSetup(ByVal Handle As Long)

C#.NET

void object.PageSetup(int Handle);

VC++

HRESULT object->PageSetup(long Handle);

C

HRESULT object->raw_PageSetup(long Handle);

Delphi

procedure object.PageSetup(Handle : Integer);

object

A SftPrintPreview object.

Handle

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

Comments

The PageSetup method invokes the Page Setup dialog.

The Page Setup dialog is used to define the page layout (margins, headers, etc.).

The PageSetupChanged event occurs when modifications are made to the current page layout.


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