SetFormFieldValueByTitle
Campos de formulario
Descripción
Establece el valor de todos los campos con el título especificado. Se generan flujos de apariencia si se llamó a SetNeedAppearances(1)
Sintaxis
Delphi
Function TPDFlib.SetFormFieldValueByTitle(Const Title, NewValue: WideString): Integer;
ActiveX
Function PDFlib::SetFormFieldValueByTitle(Title As String, NewValue As String) As Long
DLL
int DLSetFormFieldValueByTitle(int InstanceID, const wchar_t * Title, const wchar_t * NewValue);
Parámetros
| Title | El título del campo de formulario que se establecerá |
|---|---|
| NewValue | El nuevo valor del campo de formulario. En campos de texto de varias líneas puede utilizar Chr(13) o Chr(13) + Chr(10) para forzar un salto de línea |
Valores devueltos
| 0 | No se pudo encontrar el campo de formulario |
|---|---|
| 1 | El valor del campo de formulario se estableció correctamente |