Click or drag to resize

HotImageZoomAnimate Method

Creates a zoom animation from the Central point to the ScreenBigRec at the specified speed and direction.

Namespace:  Deltabit.WinForms
Assembly:  Deltabit.HotImage (in Deltabit.HotImage.dll) Version: 2.1.1.0 (2.1.1)
Syntax
public void ZoomAnimate(
	int Direction,
	int Speed,
	Point CentralPoint,
	Rectangle ScreenBigRec,
	Form DisplayFormX,
	Image DisplayImage
)

Parameters

Direction
Type: SystemInt32
0 for closing 1 for opening.
Speed
Type: SystemInt32
0 is fast speed 100 is slow speed.
CentralPoint
Type: System.DrawingPoint
The end point of the animation if closing or the begining point if opening.
ScreenBigRec
Type: System.DrawingRectangle
The rectangle from which animation will take place if closing, or to which if opening.
DisplayFormX
Type: System.Windows.FormsForm
The Form to witch animation is taking place when opening a child or to witch the animation is taking place when closing from a child hotimage.
DisplayImage
Type: System.DrawingImage
The Image used for the transition
See Also