Class FormContentType

java.lang.Object
com.azure.core.util.ExpandableStringEnum<FormContentType>
com.azure.ai.formrecognizer.models.FormContentType

public final class FormContentType extends com.azure.core.util.ExpandableStringEnum<FormContentType>
Define values for content type supported for local files.
  • Field Details

    • APPLICATION_PDF

      public static final FormContentType APPLICATION_PDF
      Static value Line for FormContentType.
    • IMAGE_JPEG

      public static final FormContentType IMAGE_JPEG
      Static value Line for FormContentType.
    • IMAGE_PNG

      public static final FormContentType IMAGE_PNG
      Static value Line for FormContentType.
    • IMAGE_TIFF

      public static final FormContentType IMAGE_TIFF
      Static value Line for FormContentType.
    • IMAGE_BMP

      public static final FormContentType IMAGE_BMP
      Static value Line for FormContentType.
  • Constructor Details

    • FormContentType

      public FormContentType()
  • Method Details

    • fromString

      public static FormContentType fromString(String value)
      Creates or finds a ElementType from its string representation.
      Parameters:
      value - a value to look for.
      Returns:
      the corresponding ElementType.