Board index » delphi » I can not see/modify inserted image, but preview shows it

I can not see/modify inserted image, but preview shows it

Hello, I have then next code to insert an image in a cell

S:InlineShape;
R:OleVariant;
    ...
    Imagen_Ajustada.SaveToFile(TempFile);
    ...
   Rango_Celda:=Tabla.Cell(Fila,Columna).Range; // (Fila,Columna).Range;
   ...
   R:=Rango_Celda ;
   S:=Rango_Celda.InlineShapes.AddPicture(
                                TempFile,                      <--File
                                False_OLE,                   <--Link to file
                                True_OLE,                    <--Save with
file
                                R);                                 <--Range
   ...

It has the next effet:

I can see and modify the inserted picture ONLY in the computer I have
created the Word document.
I can not see and  modify the picture in the others computers
MS Word lets me see the picture in preview mode in ANY computer!!!!

What is the problem to see the pictures in the MS Word normally (when you
open the document to editing).
Thanks

    Esteban

--
Esteban Olm
Departamento de Desarrollo de Software
S.I.T.E.M., S.L.
Consultora Tcnica en Sistemas de Informacin Geogrfica y Teledeteccin
C/ Aragon 141-143, 5o 1a
08015 Barcelona, Espa?a
http://www.sitem-consulting.com

 

Re:I can not see/modify inserted image, but preview shows it


Sorry!! It was to borland.public.delphi.oleautomation !!!

--
Esteban Olm
Departamento de Desarrollo de Software
S.I.T.E.M., S.L.
Consultora Tcnica en Sistemas de Informacin Geogrfica y Teledeteccin
C/ Aragon 141-143, 5o 1a
08015 Barcelona, Espa?a
http://www.sitem-consulting.com

Other Threads