try_set_orientation


Description:

[ Version ( deprecated = true , deprecated_since = "0.16.0" , since = "0.14.0" ) ]
public void try_set_orientation (Orientation orientation) throws Error

Warning: try_set_orientation is deprecated since 0.16.0.

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.