importFormData method

void importFormData(
  1. List<int> inputBytes,
  2. DataFormat dataFormat, [
  3. bool continueImportOnError = false
])

Imports the form data with the specified DataFormat.

  • inputBytes – required – Specifies the bytes of the form data.
  • dataFormat – required – Defines the constants that specify the format of importing form data.
  • continueImportOnError - optional - Indicates whether the SfPdfViewer should continue to import the form data even if any of them has an error.

Implementation

void importFormData(List<int> inputBytes, DataFormat dataFormat,
    [bool continueImportOnError = false]) {
  _importedFormDataBytes = inputBytes;
  _importDataFormat = dataFormat;
  _continueImportOnError = continueImportOnError;
  _notifyPropertyChangedListeners(property: 'importFormData');
}