SetTableBorderColor

カラー、ページレイアウト

説明

RGB 色空間を使用して指定されたテーブル枠線の色を設定します

構文

Delphi

Function TPDFlib.SetTableBorderColor(TableID, BorderIndex: Integer; Red, Green, Blue: Double): Integer;

ActiveX

Function PDFlib::SetTableBorderColor(TableID As Long, BorderIndex As Long, Red As Double, Green As Double, Blue As Double) As Long

DLL

int DLSetTableBorderColor(int InstanceID, int TableID, int BorderIndex, double Red, double Green, double Blue);

パラメータ

TableIDCreateTable 関数が返した TableID
BorderIndex0 = すべての罫線 1 = 左 2 = 上 3 = 右 4 = 下
Red色の赤成分。値は 0 から 1 です
Green色の緑成分を示す 0~1 の値
Blue色の青成分。0~1 の値

戻り値

1選択されたテーブル境界線に色または幅が適用されました
0TableIDが有効なテーブルでないか、BorderIndexが0~4の範囲外です