AddImageWithTransparency
Image handling
תיאור
Selects an existing image and applies an RGB color-key transparency range in one call
תחביר
Delphi
Function TPDFlib.AddImageWithTransparency(ImageID: Integer; FromRed, FromGreen, FromBlue, ToRed, ToGreen, ToBlue: Double): Integer;
פרמטרים
| ImageID | Existing image handle that receives the color-key mask |
|---|---|
| FromRed | Lower red value of the transparent color range |
| FromGreen | Lower green value of the transparent color range |
| FromBlue | Lower blue value of the transparent color range |
| ToRed | הערך העליון של האדום בטווח הצבע השקוף |
| ToGreen | הערך העליון של הרכיב הירוק בטווח הצבע השקוף |
| ToBlue | הערך העליון של הכחול בטווח הצבע השקוף |
ערכי החזרה
מחזיר ImageID בהצלחה, או 0 אם אין אפשרות לבחור את התמונה
הערות
This helper is equivalent to selecting the image and calling SetImageMask