|
|
|
|
|
SftPrintPreview.ZoomIn Method |
Redefines the preview location (zooming in or out).
Syntax
|
VB.NET |
object.ZoomIn(ByVal ZoomFactor As Integer, ByVal CenterDistanceX As Double, ByVal CenterDistanceY As Double) |
||
|
VB |
object.ZoomIn(ByVal ZoomFactor As Integer, ByVal CenterDistanceX As Double, ByVal CenterDistanceY As Double) |
||
|
C#.NET |
void object.ZoomIn(short ZoomFactor, double CenterDistanceX, double CenterDistanceY); |
||
|
VC++ |
HRESULT object->ZoomIn(short ZoomFactor, double CenterDistanceX, double CenterDistanceY); |
||
|
C |
HRESULT object->raw_ZoomIn(short ZoomFactor, double CenterDistanceX, double CenterDistanceY); |
||
|
Delphi |
procedure object.ZoomIn(ZoomFactor : Smallint, CenterDistanceX : Double, CenterDistanceY : Double); |
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).