try_set_orientation


Description:

[ Version ( since = "0.14.0" ) ]
public void try_set_orientation (Orientation orientation) throws Error

The orientation must be valid and cannot be [enum@GExiv2.

Note:

Use [method@Metadata.set_orientation] instead.

Orientation.UNSPECIFIED.

Parameters:

this

An instance of [class@GExiv2.Metadata]

orientation

The new [enum@GExiv2.Orientation] for the image.