Hide

SftPrintPreview/OCX 1.0 - ActiveX Print Preview Control

Display
Print

SftPrintPreview.Zoom Method

Redefines the preview layout.

Syntax

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

object

A SftPrintPreview object.

Row

Defines the relative row number of the page to make the current page. Row and Column indicate relative page numbers, starting at the first page displayed. The number of page rows and columns displayed is defined using the PageRows and PageGroups properties.

Column

Defines the relative column number of the page to make the current page. Row and Column indicate relative page numbers, starting at the first page displayed. The number of page rows and columns displayed is defined using the PageRows and PageGroups properties.

ZoomFactor

Defines the zoom factor for display of the current page(s). Valid values are 10 - 1000 (percent) and -1, which causes a single page display at actual size (100% zoom factor). Alternatively, 0 can be specified to display multiple pages. The number of page rows and columns displayed is defined using the PageRows and PageGroups properties.

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 Zoom method redefines the preview layout.

See Also SftPrintPreview Object | Object Hierarchy


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