ImgWatermark |
Top Previous Next |
Prototype
ImgWatermark (intImageHandle, intWatermarkImage, intWatermarkMaskImage, intX, intY, floatOpacity)
Description
Applies a watermark on the image.
Parameters
intImageHandle: integer value corresponding to the image handle.
intWatermarkImage: integer value corresponding to the watermark handle.
intWatermarkMaskImage: integer value corresponding to the watermark mask handle, 0 if you don't use mask.
intX: x position of the watermark
intY: y position of the watermark
floatOpacity: opacity of the watermark, expressed as percentage between 0.0 and 100.0.
Returned value
None.
Example
// =========================================== // This example shows how to apply a watermark // ===========================================
// Load an image to use as watermark from file Watermark:=ImgOpen('c:\images\watermark.tif');
// Apply watermark without mask in top left corner using 50% opacity ImgWatermark(_CurrentImage,Watermark,0,0,0,50.0);
// Delete watermark from memory ImgDelete(Watermark); |