FormEditor.SetFieldAttribute

Método FormEditor.SetFieldAttribute

Establecer atributos de campo.

public bool SetFieldAttribute(string fieldName, PropertyFlag flag)
ParámetroTipoDescripción
fieldNameStringNombre del campo cuyos atributos deben ser establecidos.
flagPropertyFlagBandera (NoExport/ReadOnly/Required)

Valor de Retorno

true si el atributo se estableció correctamente.

Ejemplos

FormEditor formEditor = new FormEditor("PdfForm.pdf",  "PdfForm_SetFieldAttribute.pdf");
formEditor.SetFieldAttribute("listboxField", PropertyFlag.ReadOnly);
formEditor.SetFieldAttribute("textField", PropertyFlag.NoExport);

Ver También