Class DocumentFontWeight

java.lang.Object
com.azure.core.util.ExpandableStringEnum<DocumentFontWeight>
com.azure.ai.documentintelligence.models.DocumentFontWeight
All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>

public final class DocumentFontWeight extends com.azure.core.util.ExpandableStringEnum<DocumentFontWeight>
Font weight.
  • Field Details

    • NORMAL

      public static final DocumentFontWeight NORMAL
      Characters are represented normally.
    • BOLD

      public static final DocumentFontWeight BOLD
      Characters are represented with thicker strokes.
  • Constructor Details

    • DocumentFontWeight

      @Deprecated public DocumentFontWeight()
      Deprecated.
      Use the fromString(String) factory method.
      Creates a new instance of DocumentFontWeight value.
  • Method Details

    • fromString

      public static DocumentFontWeight fromString(String name)
      Creates or finds a DocumentFontWeight from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding DocumentFontWeight.
    • values

      public static Collection<DocumentFontWeight> values()
      Gets known DocumentFontWeight values.
      Returns:
      known DocumentFontWeight values.