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

# PortraitProcessor.maximumVerticalPosition Property

Module: PortraitProcessor

Type: int

## Definition

Maximum distance from the bottom edge of the image to the imaginary line passing through the center of the eyes is between 50% - 70% of the total vertical length of the image.

For ICAO compliance, the value must be in the range 30 to 50.

Hint

Default value is 50.

Python

    maximum_vertical_position: int

Exceptions

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

Dart

    int get maximumVerticalPosition => getMaximumVerticalPosition();
    set maximumVerticalPosition(int value) => setMaximumVerticalPosition(value);

Exceptions

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

C#

    public int maximumVerticalPosition
    {
        get => GetmaximumVerticalPosition();
        set => SetmaximumVerticalPosition(ref value);
    }

Exceptions

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

Java

    public int getMaximumVerticalPosition() throws FaceException
    public void setMaximumVerticalPosition(int maximumVerticalPosition) throws FaceException

Exceptions

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

Swift

    public var maximumVerticalPosition: Int
        get {
            return Int(try! getMaximumVerticalPosition())
        }
    }

Exceptions

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

C

    int id3FacePortraitProcessor_GetMaximumVerticalPosition (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, int * maximumVerticalPosition)
    int id3FacePortraitProcessor_SetMaximumVerticalPosition (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, int maximumVerticalPosition)

Returns

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