THotPDF.AddImageWithMask Method
메서드 요약: THotPDF.AddImageWithMask Method
선언
function AddImageWithMask(Image: TGraphic; MaskIndex: Integer; Compression: THPDFImageCompressionType = icJpeg): Integer;
유닛
HPDFDoc
매개 변수
| 이름 | 목적 |
|---|---|
Image | Graphic object used as the visible image source |
MaskIndex | Image index of the mask resource |
Compression | Compression used for the visible image |
반환 값
Image resource index for the masked image
사용 참고
- Create the mask first with THotPDF.AddImageAsMask
- Keep the mask and visible image dimensions compatible for predictable transparency
관련 API
- THotPDF
- THotPDF.AddImage Method
- THotPDF.AddImageFromFile Method
- Contents