Share via


LengthUnit Struct

Definition

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

public readonly struct LengthUnit : IEquatable<Azure.AI.DocumentIntelligence.LengthUnit>
type LengthUnit = struct
Public Structure LengthUnit
Implements IEquatable(Of LengthUnit)
Inheritance
LengthUnit
Implements

Constructors

Name Description
LengthUnit(String)

Initializes a new instance of LengthUnit.

Properties

Name Description
Inch

Length unit for PDF files.

Pixel

Length unit for image files.

Methods

Name Description
Equals(LengthUnit)

Indicates whether the current object is equal to another object of the same type.

ToString()

Returns the fully qualified type name of this instance.

Operators

Name Description
Equality(LengthUnit, LengthUnit)

Determines if two LengthUnit values are the same.

Implicit(String to LengthUnit)

Converts a String to a LengthUnit.

Inequality(LengthUnit, LengthUnit)

Determines if two LengthUnit values are not the same.

Applies to