ImageGear Professional v18.2 > API Reference Guide > Display Component API Reference > Display Component Objects > IGDisplayCtl Control > IGDisplayCtl Methods > DrawWipe Method |
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.
DrawWipe(hWnd As Long, PageBefore As IGPageDisplay, PageAfter As
IGPageDisplay, Style As enumWipeStyles, Granularity As Long,
Time As Long)
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. |
N/A
N/A
Display