Class DocumentSpan
- java.lang.Object
-
- com.azure.ai.formrecognizer.models.DocumentSpan
-
public final class DocumentSpan extends Object
Contiguous region of the concatenated content property, specified as an offset and length.
-
-
Constructor Summary
Constructors Constructor Description DocumentSpan()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getLength()
Get the length property: Number of characters in the content represented by the span.int
getOffset()
Get the offset property: Zero-based index of the content represented by the span.
-
-
-
Method Detail
-
getOffset
public int getOffset()
Get the offset property: Zero-based index of the content represented by the span.- Returns:
- the offset value.
-
getLength
public int getLength()
Get the length property: Number of characters in the content represented by the span.- Returns:
- the length value.
-
-