You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when I merge several cells and insert an image, how can I center the image horizontally and vertically within the cells? Is there an API for this? Things like picture.top or picture.setPosition do not seem to work. When I set the text alignment using mergedRange.cellStyle.horizontalAlignment = xlsio.HorizontalAlignmentType.center, the text works fine, but setting the image does not take effect. Could you please help me figure out how to proceed?