THotPDF.DecodeLoadedImageRegion Method

ロード済み画像 XObject ストリーム 1 つから、ソース座標で指定した矩形を正確にデコードし、呼び出し側が所有する TBitmap に格納します

宣言

function DecodeLoadedImageRegion(AImageStream: THPDFStreamObject;
  RegionLeft, RegionTop, RegionRight, RegionBottom: Integer): TBitmap;

ユニット

HPDFDoc

パラメータ

名前目的
AImageStreamLoaded image XObject stream to decode
RegionLeftInclusive left source coordinate
RegionTopInclusive top source coordinate
RegionRightExclusive right source coordinate
RegionBottomExclusive bottom source coordinate

戻り値

クランプされた空でない領域を含む、新規割り当てのビットマップを返します。画像または要求されたジオメトリをデコードできない場合は nil を返します

使用上の注意

関連 API