In This Topic
GdPicture14 Namespace / GdPicturePDF Class / GetFormFieldBorderColor Method

GetFormFieldBorderColor Method (GdPicturePDF)

In This Topic
Returns the border color, if any is defined, of a required form field, that is specified by its unique form field's identifier and it is related to the currently loaded PDF document.
Overload List
OverloadDescription
Returns the border color of a required form field, that is specified by its unique form field's identifier and it is related to the currently loaded PDF document. The method only returns the correct form field's border color if this attribute is specified in the form field object itself, otherwise the method will fail.

The form field's border color attribute is not assigned automatically when creating the form field, however, you can specify the border color using the SetFormFieldBorderColor(Int32,Byte,Byte,Byte) method right after adding the required form field on the page. Otherwise, the form field may display invisible.

Be aware that if the border color differs for each single child radio button in a group of radio buttons within a radio button field, this method will fail. Please use the GetFormFieldBorderColor(Int32,Int32) method to determine the individual border color for each child radio button in a group instead.

 
Returns the border color of a required form field, here a child radio button in a group. The radio button group is specified by its unique form field's identifier and it is related to the currently loaded PDF document. Please note that every single child radio button in a group can have its own border color defined. As said, this method is only applicable to radio buttons.

The method only returns the correct form field's border color if this attribute is specified in the form field object itself, otherwise it will fail. The form field's border color attribute is not assigned automatically when creating the form field, however, you can specify the border color using the SetFormFieldBorderColor(Int32,Int32,Color) method right after adding the required form field on the page. Otherwise, the form field may display invisible.

 
See Also