PdfForm constructor

PdfForm()

Initializes a new instance of the PdfForm class.

Implementation

PdfForm() : super() {
  _helper = PdfFormHelper(this);
  _helper._fields = PdfFormFieldCollectionHelper.getCollection();
  PdfFormFieldCollectionHelper.getHelper(_helper._fields!).form = this;
  _helper.dictionary!
      .setProperty(PdfDictionaryProperties.fields, _helper._fields);
  if (!_helper.isLoadedForm) {
    _helper.dictionary!.beginSave = _helper.beginSave;
  }
  _helper.setAppearanceDictionary = true;
}