SetFormFieldBorderColorSep

フォームフィールド、カラー

説明

指定したフォームフィールドの境界線色を設定します。SetFormFieldBorderColor 関数と似ていますが、AddSeparationColor 関数で追加した分版色の濃淡を使用します。PDF 仕様はフォームフィールドの分版色空間をサポートしないため、特にフォームフィールドを後で Acrobat で編集する場合、結果が常に機能するとは限りません。この機能はフォームフィールドをフラット化する状況のために追加されています

構文

Delphi

Function TPDFlib.SetFormFieldBorderColorSep(Index: Integer; Const ColorName: WideString; Tint: Double): Integer;

ActiveX

Function PDFlib::SetFormFieldBorderColorSep(Index As Long, ColorName As String, Tint As Double) As Long

DLL

int DLSetFormFieldBorderColorSep(int InstanceID, int Index, const wchar_t * ColorName, double Tint);

パラメータ

Indexフォームフィールドのインデックス
ColorNameAddSeparationColor 関数で使用された分版色の名前
Tint使用する色の量です。0 は色なし (白)、1 は最大の色を示します

戻り値

0フォームフィールドが見つからないか、分離色名が見つかりませんでした
1指定したフォームフィールドの境界線色が正常に設定されました