Hide

SftPrintPreview/OCX 1.0 - ActiveX Print Preview Control

Display
Print

SftPrintPreview.ZoomIn Method

Redefines the preview location (zooming in or out).

Syntax

VB.NETobject.ZoomIn(ByVal ZoomFactor As Integer, ByVal CenterDistanceX As Double, ByVal CenterDistanceY As Double)
VBobject.ZoomIn(ByVal ZoomFactor As Integer, ByVal CenterDistanceX As Double, ByVal CenterDistanceY As Double)
C#.NETvoid object.ZoomIn(short ZoomFactor, double CenterDistanceX, double CenterDistanceY);
VC++HRESULT object->ZoomIn(short ZoomFactor, double CenterDistanceX, double CenterDistanceY);
CHRESULT object->raw_ZoomIn(short ZoomFactor, double CenterDistanceX, double CenterDistanceY);

object

A SftPrintPreview object.

ZoomFactor

A relative zoom factor (positive or negative), which is added to the current zoom factor. The new zoom factor value is used to format and display the currently selected page(s).

CenterDistanceX

Defines the horizontal position (in inches), relative to the top, left corner of the printed/previewed page (in printer dimensions) to be centered if possible. If -1 is specified, the top, left corner of the page is made visible.

CenterDistanceY

Defines the vertical position (in inches), relative to the top, left corner of the printed/previewed page (in printer dimensions) to be centered if possible. If -1 is specified, the top, left corner of the page is made visible.

Comments

The ZoomIn method redefines the preview location (zooming in or out).

The ZoomFactor property can be used to define the page zoom factor (in percent).

See Also SftPrintPreview Object | Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.