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

# Portrait.instruction Property

Module: Portrait

Type: PortraitInstruction

## Definition

Instruction to be given to the user for portrait capture.

Python

    instruction: PortraitInstruction

Exceptions

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

Dart

    PortraitInstruction get instruction => getInstruction();

Exceptions

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

C#

    public PortraitInstruction instruction
    {
        get => Getinstruction();
    }

Exceptions

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

Java

    public PortraitInstruction getInstruction() throws FaceException

Exceptions

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

Swift

    public var instruction: PortraitInstruction
        get {
            return try! getInstruction()
        }
    }

Exceptions

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

C

    int id3FacePortrait_GetInstruction (ID3_FACE_PORTRAIT hPortrait, id3FacePortraitInstruction * eInstruction)

Returns

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