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

# PortraitProcessor.maximumHorizontalPosition 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 55.

Python

    maximum_horizontal_position: int

Exceptions

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

Dart

    int get maximumHorizontalPosition => getMaximumHorizontalPosition();
    set maximumHorizontalPosition(int value) => setMaximumHorizontalPosition(value);

Exceptions

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

C#

    public int maximumHorizontalPosition
    {
        get => GetmaximumHorizontalPosition();
        set => SetmaximumHorizontalPosition(ref value);
    }

Exceptions

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

Java

    public int getMaximumHorizontalPosition() throws FaceException
    public void setMaximumHorizontalPosition(int maximumHorizontalPosition) throws FaceException

Exceptions

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

Swift

    public var maximumHorizontalPosition: Int
        get {
            return Int(try! getMaximumHorizontalPosition())
        }
    }

Exceptions

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

C

    int id3FacePortraitProcessor_GetMaximumHorizontalPosition (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, int * maximumHorizontalPosition)
    int id3FacePortraitProcessor_SetMaximumHorizontalPosition (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, int maximumHorizontalPosition)

Returns

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