Partilhar 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

LengthUnit(String)

Initializes a new instance of LengthUnit.

Properties

Inch

Length unit for PDF files.

Pixel

Length unit for image files.

Methods

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

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