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

# Portrait.imageCenter Property

Module: Portrait

Type: Point

## Definition

Center of the portrait in the source image.

Python

    image_center: Point

Exceptions

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

Dart

    Point get imageCenter => getImageCenter();

Exceptions

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

C#

    public Point imageCenter
    {
        get => GetimageCenter();
    }

Exceptions

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

Java

    public Point getImageCenter() throws FaceException

Exceptions

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

Swift

    public var imageCenter: Point
        get {
            return try! getImageCenter()
        }
    }

Exceptions

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

C

    int id3FacePortrait_GetImageCenter (ID3_FACE_PORTRAIT hPortrait, id3FacePoint * sImageCenter)

Returns

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