Class DocumentFontStyle

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

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

    • NORMAL

      public static final DocumentFontStyle NORMAL
      Characters are represented normally.
    • ITALIC

      public static final DocumentFontStyle ITALIC
      Characters are visually slanted to the right.
  • Constructor Details

    • DocumentFontStyle

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

    • fromString

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

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