Image placing to fit cells

Questions and answers on how to use XLSReadWriteII 5.
Post Reply
andreylindenau
Posts: 2
Joined: Fri Jun 24, 2011 5:53 am

Image placing to fit cells

Post by andreylindenau »

Hi Lars,

I have following code:
1 Image := XLS[0].Drawing.InsertImage(UseFile,1, 1, 0, 0, 1);
2 Image.Col1 := 5;
3 Image.Row1 := 5;
4 Image.Col2 := 8;
5 Image.Col2Offs := 0;
6 Image.Row2 := 7;
7 Image.Row2Offs := 0;

Image placed correctly by first line to row 1 and col 1
No matter what I put in lines 2 to 7 - image position and size is not changing.
Using XLSReadWriteII 5.0 - 5.20.10
larsa
Site Admin
Posts: 926
Joined: Mon Jun 27, 2005 9:30 pm

Re: Image placing to fit cells

Post by larsa »

Hello

Update to the latest update. You version is old. Current version is 5.20.58
Lars Arvidsson, Axolot Data
Post Reply