PRIM_PDF.AutoTable - AddColumnメソッド
テーブルに列を追加
PRIM_PDF.AutoTable (PRIM_PDF.AutoTable) のメンバ
パラメータ
名前 | タイプ | データタイプ | 記述 |
|---|---|---|---|
Column | *Input | AutoTable 列 |
詳細
テーブルに列を追加します。
例
以下の例では、テーブルに列が 1 つ追加されています。
Define_Com Class(#PRIM_PDF.AutoTable) Name(#Table) Reference(*DYNAMIC) Theme(Striped) Columncount(3)
Define_Com Class(#PRIM_PDF.AutoTableColumn) Name(#CellPhoneCol) Reference(*DYNAMIC)
* テーブル列を作成し、プロパティを設定
#CellPhoneCol <= #Table.CreateColumn
#CellPhoneCol.HeadCaption := 'Cell Phone'
#CellPhoneCol.HeadHAlign := Center
#CellPhoneCol.HAlign := Center
#Table.AddColumn Column(#CellPhoneCol)