ImageGear Professional for Windows ActiveX
DrawWipe Method

Description:

Changes the image in window hWnd from the PageBefore image to the PageAfter image. The transition is accomplished according to the Style transition style. Before you call this function, the first image should already be in the window. This function will set the wipe style, and then cause re-painting of hWnd window (generate a WM_PAINT message). The transition to the new image will be performed during this message handling.

Syntax:

      DrawWipe(hWnd As Long, PageBefore As IGPageDisplay, PageAfter As
IGPageDisplay, Style As enumWipeStyles, Granularity As Long,
Time As Long)

Parameters:

Name Description
hWnd Window handle.
PageBefore image in the window before the wipe.
PageAfter image to be in window after the wipe.
Style Transition style, such as IG_WIPE_LEFTTORIGHT. See description of enumIGWipeStyles Enumeration.
Granularity Size of each square region, in pixels. A typical value is 5.
Time The time, in milliseconds, between wipes.

Return Value:

N/A

Bits Per Pixel:

N/A

Sample:

Display

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback