Dimensions Class

Stores dimensions of a media file (image/video).

Constructors

Name Description
Dimensions(long, long) Creates a new instance of the Dimensions class.

Properties

Name Type Description
Height System.Int Height of the media.
Width System.Int Width of the media.

Methods

Name Description
Dimensions.FromJson(JObject) Creates a new instance of the Dimensions class using a JSON object.
Dimensions.ToString() Returns a string containing all of the class’ properties.