AddImageWithMask

Image handling

תיאור

Marks one existing image as a mask and attaches it to another existing image in one call

תחביר

Delphi

Function TPDFlib.AddImageWithMask(ImageID, MaskImageID, MaskType: Integer): Integer;

פרמטרים

ImageIDImage that receives the mask
MaskImageIDImage used as the stencil or soft mask
MaskType1 attaches a stencil mask and 2 attaches a soft mask

ערכי החזרה

מחזיר ImageID בהצלחה, או 0 אם אחת מהתמונות אינה תקפה או שאין אפשרות לצמוד את המסכה

הערות

השתמשו ב-helper הזה כדי להימנע משינוי ידני של התמונה הנבחרת בעת בניית זרימות עבודה של שקיפות מתמונות מיובאות

ראו גם

AddImageAsMask, SetImageMaskFromImage, SetImageSoftMaskFromImage