SetImageStencilMaskFromImage
Image handling
Description
Marks another image as a stencil mask and attaches it to the currently selected image
Syntax
Delphi
Function TPDFlib.SetImageStencilMaskFromImage(ImageID: Integer): Integer;
Parameters
| ImageID | Image to use as the stencil mask |
|---|
Return values
Returns 1 on success, or 0 if the current image or mask image is invalid
Remarks
Use this wrapper when the Delphi class API is preferred over assembling the lower-level PDF objects manually
See also
SetImageSoftMaskFromImage, SetImageMaskFromImage, SetImageAsMask