SetImageSoftMaskFromImage

Image handling

Description

Marks another image as a soft mask and attaches it to the currently selected image

Syntax

Delphi

Function TPDFlib.SetImageSoftMaskFromImage(ImageID: Integer): Integer;

Parameters

ImageIDImage to use as the soft 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

SetImageStencilMaskFromImage, SetImageMaskFromImage, SetImageAsMask