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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

reposition images

Thread ID:

Created:

Updated:

Platform:

Replies:

43084 Apr 13,2006 01:47 PM UTC Apr 17,2006 08:28 PM UTC Windows Forms 1
loading
Tags: XlsIO
Kai Wachter
Asked On April 13, 2006 01:47 PM UTC

Hi All, just question i insert a Picture from File into a specific cell. dim lshape as ipictureshape lShape = pWb.ActiveSheet.Pictures.AddPicture(l_range.Row, l_range.Column, l_img) but now i would like to reposition that image but the use of the Methods Left and top does not make any changes. Is there a chance to reposition that image to another location? the problem is that i use the indentlevel in a cell, so also the image should indented. thanks for your answers. best regards, Kai Wachter

Administrator [Syncfusion]
Replied On April 17, 2006 08:28 PM UTC

Hi Kai, I tried to reproduce the problem using this sample F43084RepositionImages.zip but was able to see that the IShape.Left property repositions the image based on the given absolute co-ordinate. Please let me know if you are able to see the problem in this sample? However I was able to see that the usage was not very convenient so we plan to add easy to use API that would allow you to indent an image by specifying the column number and % of indent of the total column width. For example, you would be able to specify that you want a specific image would start from cell A1 with an indent equal to 30% of the cells width? Please let me know if this would be sufficient or if you have any other suggestions. Thanks, Stephen. >Hi All, > >just question i insert a Picture from File into a specific cell. >dim lshape as ipictureshape >lShape = pWb.ActiveSheet.Pictures.AddPicture(l_range.Row, l_range.Column, l_img) > >but now i would like to reposition that image >but the use of the Methods Left and top does not make any changes. Is there a chance to reposition that image to another location? > >the problem is that i use the indentlevel in a cell, so also the image should indented. > >thanks for your answers. > >best regards, > >Kai Wachter >

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

;