/// <summary> /// Adds a part to the request. Doing so will make this request be sent as multipart/form-data. /// </summary> /// <param name='name'> /// Name of the part. /// </param> /// <param name='image'> /// <see cref="ImageData"/> used to populate the part. /// </param> public void AddMultipartData (string name, ImageData image) { AddMultipartData (name, image.Data, image.MimeType, image.Filename); }
IList<ImageData> GetWordCloudAsImage () { IList<ImageData> images = new List<ImageData> (); ImageData myCloudImage = new ImageData (wordCloud.GetCloudAsImage()); images.Add (myCloudImage); return images; }