PRIM_PDF.AutoTableRow - addImageCellメソッド

テーブル行にイメージ セルを追加

PRIM_PDF.AutoTableRow (PRIM_PDF.AutoTableRow) のメンバ

パラメータ

名前

タイプ

データタイプ

記述

Bitmap

*Input

PRIM_BMP

セルに追加するイメージ

ImageFileFormat

*Input

列挙

イメージ ファイルの形式

Width

*Input

浮動

イメージの幅

Height

*Input

浮動

イメージの高さ

ImageCompression

*Input (任意)

列挙

生成された JPEG の圧縮

Rotation

*Input (任意)

整数

イメージの回転角度 (0-359)

HAlign

*Input (任意)

列挙

イメージの水平方向の配置

VAlign

*Input (任意)

列挙

イメージの垂直方向の配置

FillColor

*Input (任意)

背景色

詳細

AutoTable 行にイメージ セルを追加します

AutoTable 行に 1 つのイメージセルを追加します。 

     Define_Com Class(#PRIM_PDF.AutoTable) Name(#Table) Reference(*DYNAMIC) Theme(Striped) Columncount(1)
Define_Com Class(#PRIM_PDF.AutoTableRow) Name(#Row) Reference(*DYNAMIC)
Define_Com Class(#PRIM_BMP) Name(#myBitmap) Reference(*DYNAMIC)

* 行の作成
#Row <= #Table.CreateRow

* イメージ追加
#myBitmap <= #Sys_Appln.CreateBitmap( '/myPath/myImage.jpg' )
#Row.addImageCell Bitmap(#myBitmap) Imagefileformat(jpg) Width(5) Height(5)

* テーブルに行を追加
#Table.AddRow Row(#Row)

ImageFileFormat 許容値

列挙値

説明

bmp

ビットマップ

gif

グラフィック インターチェンジ フォーマット

png

ポータブル ネットワーク グラフィック

jpg

ジョイント フォトグラフィック エキスパート グループの標準

ImageCompression 許容値

列挙値

説明

None

圧縮なし

Fast

速い速度の圧縮

Medium

普通の速度の圧縮

Slow

遅い速度で最大限の圧縮

HAlign 許容値

列挙値

説明

Left

左揃え

Right

右揃え

Center

中央揃え

VAlign 許容値

列挙値

説明

Top

上詰め

Middle

中央揃え

Bottom

下詰め

参照

すべてのコンポーネント クラス
テクニカル リファレンス

  • No labels