示例#1
0
		/// <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);
		}
示例#2
0
		IList<ImageData> GetWordCloudAsImage ()
		{
			IList<ImageData> images = new List<ImageData> ();
			ImageData myCloudImage = new ImageData (wordCloud.GetCloudAsImage());
			images.Add (myCloudImage);
			return images;
		}