Format Cell with both text and images


#1

Hey,

How do I move the text in a cell X pixels to the right when there is a picture positioned at the left border in the cell?

Code:

currentSheet.Pictures.Add(rowNumber, columnNumber, imageString)
pic.Left = 11
currentSheet.Cells[rowNumber, Convert.ToByte(columnNumber)].PutValue(text)


#2

currentSheet.Cells[rowNumber, Convert.ToByte(columnNumber)].Style.HorizontalAlignment = TextAlignmentType.Right