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 Summary
Modifier and TypeFieldDescriptionstatic final DocumentFontStyle
Characters are visually slanted to the right.static final DocumentFontStyle
Characters are represented normally. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic DocumentFontStyle
fromString
(String name) Creates or finds a DocumentFontStyle from its string representation.static Collection
<DocumentFontStyle> values()
Gets known DocumentFontStyle values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
NORMAL
Characters are represented normally. -
ITALIC
Characters are visually slanted to the right.
-
-
Constructor Details
-
DocumentFontStyle
Deprecated.Use thefromString(String)
factory method.Creates a new instance of DocumentFontStyle value.
-
-
Method Details
-
fromString
Creates or finds a DocumentFontStyle from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding DocumentFontStyle.
-
values
Gets known DocumentFontStyle values.- Returns:
- known DocumentFontStyle values.
-
fromString(String)
factory method.