Error processing SSI file
(Leadtools.Controls)

Show in webframe

Zoom Method (ImageViewerItem)




The size mode to use.
The desired zoom value. This must be a value greater than 0. A value of 1.0 equals 100 percent zoom, a value of 0.5 equals to 50 percent, a value of 1.5 equals 150 percent zoom and so on.
The origin of the zoom operation.
Zooms or changes the size mode of this item.
Syntax
public virtual void Zoom( 
   ControlSizeMode sizeMode,
   double value,
   LeadPointD origin
)
'Declaration
 
Public Overridable Sub Zoom( _
   ByVal sizeMode As ControlSizeMode, _
   ByVal value As Double, _
   ByVal origin As LeadPointD _
) 

Parameters

sizeMode
The size mode to use.
value
The desired zoom value. This must be a value greater than 0. A value of 1.0 equals 100 percent zoom, a value of 0.5 equals to 50 percent, a value of 1.5 equals 150 percent zoom and so on.
origin
The origin of the zoom operation.
Remarks

This method will update Transform based on the values passed. For information on how zoom works, refer to Zoom. This method works the same way except the zoom is performed on this item only and the values will be stored in Transform.

origin is the origin of the zoom operation. Use DefaultZoomOrigin to zoom around the center of the item.

Requirements

Target Platforms

See Also

Reference

ImageViewerItem Class
ImageViewerItem Members

Error processing SSI file