| ImageGear Professional v18.2 > API Reference Guide > Effects Component API Reference > Effects Component Objects > IGEffectsCtl Control > IGEffectsCtl Methods > DropShadow Method |
Adds a drop shadow to an image. The image is enlarged to contain a background and shadowed area.
Sub DropShadow(Page As IGPage, Width As Long, Distance As Long,
Angle As Long, InsideColor As IGPixel, OutsideColor As IGPixel)
| Name | Description |
|---|---|
| Page | IGPage Object to which to apply the effect. |
| Width | Width of background and shadow area to add to the image. |
| Distance | Distance to move image from shadow area. |
| Angle | Angle (direction) of movement of image from shadow area. |
| InsideColor | Color of shadow area. |
| OutsideColor | Color of background. |
N/A
All except bitonal, non-gray Indexed and Grayscale with LUT.
Image Processing and Effects