ImageGear Professional v18.2 > API Reference Guide > Processing Component API Reference > Processing Component Objects > IGProcessingCtl Control > IGProcessingCtl Methods > DrawFrame Method |
Adds a frame (block of solid color on all four sides) to an image.
If Mode is set to IG_DRAW_FRAME_EXPAND, the width and the height of the image will be expanded by 2 times the width of the frame. If Mode is set to IG_DRAW_FRAME_OVERWRITE, all four sides of the image will be overwritten by the frame, so that the resulting image has the same width and height as the original image, but the edges of the image are "covered" by the frame.
DrawFrame (pPage As IGPage, frameThickness As Long, Mode As
enumDrawFrame)
Name | Description |
---|---|
pPage | Reference to IGPage Object to despeckle. |
frameThickness | The width of the frame, in pixels. |
Mode | Tells ImageGear which IG_DRAW_FRAME_ setting to use. |
N/A
1, 4, 8, 9-16-bit gray level, 24
Image Processing and Effects