We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Moving picture with cells

Thread ID:

Created:

Updated:

Platform:

Replies:

47302 Aug 2,2006 11:13 AM UTC Aug 2,2006 03:22 PM UTC WinForms 1
loading
Tags: XlsIO
Malachy Walsh
Asked On August 2, 2006 11:13 AM UTC

Hi Guys,

Is there a way to set an image added using AddPicture to move but not resize with the cells it has been added to?

Regards,
Malachy

Melba Winshia [Syncfusion]
Replied On August 2, 2006 03:22 PM UTC

Hi Malachy,

Thank You for using Syncfusion Essential XlsIO. You can move the picture to another location by using the following code snippet.

[c#]
//Insert Image
sheet.Pictures.AddPicture(1,1,"../../Data/excel_ico.gif");

//Reposition Image
sheet.Pictures[0].Left = 200;
sheet.Pictures[0].Top = 200;

Here is a sample for your reference:

AddPicture.zip


Regards,
Melba

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;