SetXFAFormFieldBorderColor

양식 필드, 색상

설명

지정한 XFA 양식 필드의 테두리 색상을 설정합니다 필드 이름은 상대 템플릿 경로 또는 $template이나 xfa.template로 시작하는 표준 템플릿 SOM 경로일 수 있습니다

구문

Delphi

Function TPDFlib.SetXFAFormFieldBorderColor(Const XFAFieldName: WideString; Red, Green, Blue: Double): Integer;

ActiveX

Function PDFlib::SetXFAFormFieldBorderColor(XFAFieldName As String, Red As Double, Green As Double, Blue As Double) As Long

DLL

int DLSetXFAFormFieldBorderColor(int InstanceID, const wchar_t* XFAFieldName, double Red, double Green, double Blue);
int DLSetXFAFormFieldBorderColorA(int InstanceID, const char* XFAFieldName, double Red, double Green, double Blue);

매개변수

XFAFieldName작업할 XFA 템플릿 필드 이름입니다. 점 기반 SOM 경로, GetXFAFormFieldNames 또는 GetXFAFormFieldName이 반환한 슬래시 구분 경로, $template/... 루트를 허용합니다. 슬래시 구분 경로는 리터럴 마침표를 보존하고 점 구분 SOM 경로는 Line\.Item과 같은 이스케이프된 마침표를 허용함
Red색상의 빨간색 성분으로 0과 1 사이의 값이어야 합니다
Green색상의 녹색 구성 요소이며 0과 1 사이 값이어야 합니다
Blue색상의 파란색 성분이며 0에서 1 사이의 값이어야 합니다

반환 값

1테두리 색상이 XFA 양식 필드에 기록되었습니다
0문서에 양식 데이터가 없거나 필드를 찾을 수 없습니다