Skip to content

Instantly share code, notes, and snippets.

@ritz078
Last active September 29, 2021 08:58
Show Gist options
  • Save ritz078/8fcdc2f985789bd44cfb167a280dbafb to your computer and use it in GitHub Desktop.
Save ritz078/8fcdc2f985789bd44cfb167a280dbafb to your computer and use it in GitHub Desktop.
ParseXFDF

parseXFDF

This API is only available in standalone mode. The API looks like this:

type IParsedXFDF = {
  annotations: List<Annotation>
  formFieldValues?: Record<string, unknown>
  errors?: {
    errorMessage: string
    type: string
  }[]
}

parseXFDF(xfdf:string): Promise<IParsedXFDF>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment