THotPDF.AddImageAsMaskFromFile Method

AddImageAsMaskFromFile は画像ファイルを読み込み、PDF の /ImageMask 画像 XObject として登録します

宣言

function AddImageAsMaskFromFile(FileName: TFileName; Compression: THPDFImageCompressionType= icFlate): Integer;

Usage

Use the returned image index as the MaskIndex for THotPDF.AddImageWithMaskFromFile or the image overloads that accept a mask index

The helper is the C++Builder-facing file-name counterpart of AddImageAsMask and avoids passing the low-level IsMask flag manually

関連 API