set_resolution


Description:

public abstract bool set_resolution (ResolutionUnit unit, float x, float y)

Set resolution retrieved from image file's metadata.

Intended for use by the image file reader. If resolution is not supported by the application or if the operation fails false is returned and the values are ignored.

Parameters:

this

The Metadata interface

unit

Specify ResolutionUnit

x

X resolution

y

Y resolution

Returns:

true if successful.