Class BlobIndexerPdfTextRotationAlgorithm
java.lang.Object
com.azure.core.util.ExpandableStringEnum<BlobIndexerPdfTextRotationAlgorithm>
com.azure.search.documents.indexes.models.BlobIndexerPdfTextRotationAlgorithm
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class BlobIndexerPdfTextRotationAlgorithm
extends com.azure.core.util.ExpandableStringEnum<BlobIndexerPdfTextRotationAlgorithm>
Determines algorithm for text extraction from PDF files in Azure blob storage.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BlobIndexerPdfTextRotationAlgorithmMay produce better and more readable text extraction from PDF files that have rotated text within them.static final BlobIndexerPdfTextRotationAlgorithmLeverages normal text extraction. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromString(String name) Creates or finds a BlobIndexerPdfTextRotationAlgorithm from its string representation.values()Gets known BlobIndexerPdfTextRotationAlgorithm values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
NONE
Leverages normal text extraction. This is the default. -
DETECT_ANGLES
May produce better and more readable text extraction from PDF files that have rotated text within them. Note that there may be a small performance speed impact when this parameter is used. This parameter only applies to PDF files, and only to PDFs with embedded text. If the rotated text appears within an embedded image in the PDF, this parameter does not apply.
-
-
Constructor Details
-
BlobIndexerPdfTextRotationAlgorithm
Deprecated.Use thefromString(String)factory method.Creates a new instance of BlobIndexerPdfTextRotationAlgorithm value.
-
-
Method Details
-
fromString
Creates or finds a BlobIndexerPdfTextRotationAlgorithm from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding BlobIndexerPdfTextRotationAlgorithm.
-
values
Gets known BlobIndexerPdfTextRotationAlgorithm values.- Returns:
- known BlobIndexerPdfTextRotationAlgorithm values.
-
fromString(String)factory method.