| SignDocFieldsetTextFieldAttributes Method |
Set the text field attributes of the widget.
Font name and font size must be specified.The text color is optional.This function fails if any of the attributes of aInput are invalid.
Text field attributes can be specified for text fields, signature fields, list boxes, and combo boxes.
If SignDocTextFieldAttributes.isSet() returns false for aInput, the text field attributes of the field will be removed by SignDocDocument.setField().
The following rules apply if the field does not have text field attributes :
If the field inherits text field attributes from a ancestor field, those will be used by PDF processing software.
Otherwise, if the document has specifies text field attributes(see SignDocDocument.getTextFieldAttributes()), those will be used by PDF processing software.
Otherwise, the field is not valid.
To avoid having invalid fields, SignDocDocument.addField() and SignDocDocument.setField() will use text field attributes specifying Helvetica as the font and black for the text color if the field does not inherit text field attributes from an ancestor field or from the document.
This function always fails for TIFF documents.
Namespace: de.softpro.signdocsdkAssembly: SPSignDoc_4.1_DotNetLibd (in SPSignDoc_4.1_DotNetLibd.dll) Version: 1.0.5882.21462
Syntaxpublic bool setTextFieldAttributes(
SignDocTextFieldAttributes input
)
Public Function setTextFieldAttributes (
input As SignDocTextFieldAttributes
) As Boolean
public:
bool setTextFieldAttributes(
SignDocTextFieldAttributes^ input
)
member setTextFieldAttributes :
input : SignDocTextFieldAttributes -> bool
Parameters
- input
- Type: de.softpro.signdocsdkSignDocTextFieldAttributes
The new text field attributes.
Return Value
Type:
Booleantrue if successful.
See Also