public object Register(IArtefactEntry catalogobject) { PDFAcrobatFormFieldWidget field = (PDFAcrobatFormFieldWidget)catalogobject; this.Fields.Add(field); return(field); }
public bool RegisterField(IPDFFormField field, PDFLayoutContext context) { PDFAcrobatFormFieldWidget entry = field.GetFieldEntry(context) as PDFAcrobatFormFieldWidget; if (null != entry) { this.Fields.Add(entry); return(true); } else { return(false); } }