Smartsheet.Api.Internal.RowColumnResourcesImpl.AddImageToCell C# (CSharp) Method

AddImageToCell() public method

Uploads an image to the specified Cell within a Sheet.

It mirrors To the following Smartsheet REST API method: POST /sheets/{sheetId}/rows/{rowId}/columns/{columnId}/cellimages

if any argument is null or empty string if there is any problem with the REST API request if there is any problem with the REST API authorization (access token) if the resource cannot be found if the REST API service is not available (possibly due To rate limiting) if there is any other error during the operation
public AddImageToCell ( long sheetId, long rowId, long columnId, string file, string fileType ) : void
sheetId long the sheet Id
rowId long the row Id
columnId long the column id
file string the file path
fileType string the file type
return void
        public virtual void AddImageToCell(long sheetId, long rowId, long columnId, string file, string fileType)
        {
            AddImage("sheets/" + sheetId + "/rows/" + rowId + "/columns/" + columnId + "/cellimages", file, fileType);
        }