Click or drag to resize
SignDocDocumentsetField Method
Change a field. This function changes a field in the document using attributes from a SignDocField object. Everything except for the name and the type of the field can be changed. See the member functions of SignDocField for details. Always get a SignDocField object for a field by calling getField(), getFields(), or getFields(), then apply your modifications to that object, then call setField(). Applications should not call setField() for fields that are locked, ie, have SignDocField.f_ReadOnly set in the return value of SignDocField.getFlags().However, setField() does not fail in that case. The coordinates of the field are not changed unless #sff_move is set in @a aFlags. Do not try to build a SignDocField object from scratch for changing a field as future versions of the SignDocField class may have additional attributes. This function is implemented for PDF documents only. This function always fails for PDF documents that have signed signature fields.

Namespace:  de.softpro.signdocsdk
Assembly:  SPSignDoc_4.3_DotNetLib (in SPSignDoc_4.3_DotNetLib.dll) Version: 1.0.6773.37566
Syntax
C#
public void setField(
	SignDocField field,
	SetFieldFlag flags
)

Parameters

field
Type: de.softpro.signdocsdkSignDocField
The field to be changed. The font resource name of the default text field attributes may be modified. The value index and the value may be modified
flags
Type: de.softpro.signdocsdk.Enums.EDocumentSetFieldFlag
Flags modifying the behavior of this function, see sff_font_fail, sff_font_warn, sff_font_ignore, sff_move, #sff_keep_ap, sff_update_ap, sff_fit_height_only. sff_force_border_width, #sff_dont_break_lines, sff_auto_alignment, sff_ltr, sff_rtr, sff_default_ltr, and sff_default_rtl.
See Also