你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

LengthUnit Enum

  • java.lang.Object
    • java.lang.Enum
      • com.azure.ai.formrecognizer.models.LengthUnit

public enum LengthUnit
extends Enum<LengthUnit>

The unit used by the width, height and boundingBox properties. For images, the unit is "pixel". For PDF, the unit is "inch".

Fields

INCH

Enum value inch.

PIXEL

Enum value pixel.

Methods inherited from java.lang.Enum

Methods inherited from java.lang.Object

Methods

fromString(String value)

public static LengthUnit fromString(String value)

Parses a serialized value to a LengthUnit instance.

Parameters

value
String
the serialized value to parse.

Returns

the parsed LengthUnit object, or null if unable to parse.

toString()

public String toString()

Returns

Overrides
java.lang.Enum.toString()

valueOf(String name)

public static LengthUnit valueOf(String name)

Parameters

name
String

Returns

values()

public static LengthUnit[] values()

Returns

Applies to