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