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

# Portrait.faceTemplate Property

Module: Portrait

Type: FaceTemplate

## Definition

Face template.

Python

    face_template: FaceTemplate

Exceptions

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

Dart

    FaceTemplate get faceTemplate => getFaceTemplate();

Exceptions

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

C#

    public FaceTemplate faceTemplate
    {
        get => GetfaceTemplate();
    }

Exceptions

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

Java

    public FaceTemplate getFaceTemplate() throws FaceException

Exceptions

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

Swift

    public var faceTemplate: FaceTemplate
        get {
            return try! getFaceTemplate()
        }
    }

Exceptions

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

C

    int id3FacePortrait_GetFaceTemplate (ID3_FACE_PORTRAIT hPortrait, ID3_FACE_TEMPLATE hFaceTemplate)

Returns

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