Hide navigation sidebar
Hide table of contents sidebar
Skip to content
Back to top
Toggle table of contents sidebar

# PortraitProcessor.minimumHorizontalPosition Property

Module: PortraitProcessor

Type: int

## Definition

Value indicating if the head is correctly centered horizontally.

For ICAO compliance, the value must be in the range 45 to 55.

Hint

Default value is 45.

Python

    minimum_horizontal_position: int

Exceptions

> FaceException
> An error has occurred during Face Library execution.

Dart

    int get minimumHorizontalPosition => getMinimumHorizontalPosition();
    set minimumHorizontalPosition(int value) => setMinimumHorizontalPosition(value);

Exceptions

> FaceException
> An error has occurred during Face Library execution.

C#

    public int minimumHorizontalPosition
    {
        get => GetminimumHorizontalPosition();
        set => SetminimumHorizontalPosition(ref value);
    }

Exceptions

> FaceException
> An error has occurred during Face Library execution.

Java

    public int getMinimumHorizontalPosition() throws FaceException
    public void setMinimumHorizontalPosition(int minimumHorizontalPosition) throws FaceException

Exceptions

> FaceException
> An error has occurred during Face Library execution.

Swift

    public var minimumHorizontalPosition: Int
        get {
            return Int(try! getMinimumHorizontalPosition())
        }
    }

Exceptions

> FaceException
> An error has occurred during Face Library execution.

C

    int id3FacePortraitProcessor_GetMinimumHorizontalPosition (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, int * minimumHorizontalPosition)
    int id3FacePortraitProcessor_SetMinimumHorizontalPosition (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, int minimumHorizontalPosition)

Returns

> `int`
> An error code.
> See id3FaceError file for the list of possible error codes.