We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Adding absolute positioned image with opacity

Is there is any way to add any image using aspose.cells with absolute positioning(using pixels margin) and custom opacity?


How could you achieve this in MS Excel manually, could you elaborate with details (steps involved for MS Excel) and sample file, we will check it soon. We do have some attributes to insert/move picture with respect to worksheet, see the sample code for your reference:
Sample code:

Workbook wb = new Workbook("e:\\test2\\sample1.xlsx");

            Worksheet ws = wb.Worksheets[0];

            Picture pic = ws.Pictures[0];

            //int idx = ws.Pictures.Add(34, 3, new MemoryStream(pic.Data));
            int idx = ws.Pictures.Add(34, 3, "e:\\test\\school.jpg");

            Picture pic2 = ws.Pictures[idx];

            pic2.TopToCorner = 500;
            pic2.LeftToCorner = 500;


Hope, this helps a bit.