SftPrintPreview/OCX 1.0

SftPrintPreview.ZoomStyle Property

Softel vdm, Inc.

Defines the mouse button behavior.

Syntax       

Get

VB.NET

Style = object.ZoomStyle  As SftPrintPreviewZoomStyleConstants

VB

Style = object.ZoomStyle  As SftPrintPreviewZoomStyleConstants

C#.NET

SftPrintPreviewZoomStyleConstants Style = object.ZoomStyle;

VC++

enum SftPrintPreviewZoomStyleConstants Style = object->ZoomStyle;
enum SftPrintPreviewZoomStyleConstants Style = object->GetZoomStyle();

C

HRESULT object->get_ZoomStyle(enum SftPrintPreviewZoomStyleConstants* Style);

Delphi

Style := object.ZoomStyle  : TOleEnum;

Put

VB.NET

object.ZoomStyle = Style  As SftPrintPreviewZoomStyleConstants

VB

object.ZoomStyle = Style  As SftPrintPreviewZoomStyleConstants

C#.NET

SftPrintPreviewZoomStyleConstants object.ZoomStyle = Style;

VC++

enum SftPrintPreviewZoomStyleConstants object->ZoomStyle = Style;
void object->PutZoomStyle(enum SftPrintPreviewZoomStyleConstants Style);

C

HRESULT object->put_ZoomStyle(enum SftPrintPreviewZoomStyleConstants Style);

Delphi

object.ZoomStyle := Style  : TOleEnum;

object

A SftPrintPreview object.

Style

Defines the mouse button behavior.

Name

Value

Description

zoomSftPrintPreviewNone

0

None - The left and right mouse buttons have no effect.

zoomSftPrintPreviewLeft

1

Left Mouse Button - The left mouse button is used to zoom in and out.  The right mouse button has no effect.  The zoom increment is defined using the ZoomIncrDecr property.

zoomSftPrintPreviewLeftRight

2

Left/Right Mouse Buttons - The left mouse button is used to zoom in.  The right mouse button is used to zoom out.  The zoom increment is defined using the ZoomIncrDecr property.

Comments

The ZoomStyle property defines the mouse button behavior.


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