CoreTweet  2.0.0-beta.2
Yet another .NET Twitter Library
Properties | List of all members
CoreTweet.MediaSize Class Reference

Represents the size of the MediaSizes. More...

Inheritance diagram for CoreTweet.MediaSize:
CoreTweet.Core.CoreBase

Properties

int Height [get, set]
 Gets or sets the height in pixels of the size. More...
 
string Resize [get, set]
 
int Width [get, set]
 Gets or sets the width in pixels of the size. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from CoreTweet.Core.CoreBase
static T Convert< T > (string json, string jsonPath="")
 Converts the JSON to a twitter object of the specified type. More...
 
static List< T > ConvertArray< T > (string json, string jsonPath)
 

Detailed Description

Represents the size of the MediaSizes.

Property Documentation

◆ Height

int CoreTweet.MediaSize.Height
getset

Gets or sets the height in pixels of the size.

◆ Resize

string CoreTweet.MediaSize.Resize
getset

Gets or sets the resizing method used to obtain the size.

A value of fit means that the media was resized to fit one dimension, keeping its native aspect ratio.

A value of crop means that the media was cropped in order to fit a specific resolution.

◆ Width

int CoreTweet.MediaSize.Width
getset

Gets or sets the width in pixels of the size.


The documentation for this class was generated from the following file: