Referencing pictures in a Canvas Shapes collection

R

ronymaxwell

I have a canvas in a document with a number of pictures on it. I place
the pictures into the document manually. I manipulated them (.Left
.Top, .Name, etc) using Document.Shapes(1).CanvasItems(i). where
refers to each canvas shape in the collection. There are a lot o
pictures and I want to generate a list of their filenames (includin
path) without having to individually select each one and get the inf
manually. I can't find any way to reference the pictures and henc
their filenames. There doesn't seem to be a property in the canva
shapes collection to do this
 
V

Venky62

This code will print out the full path of all the pictures in you
document. But they should have been inserted into the document with
"Link" or "Insert and Link" selected in the Insert Picture dialog box
When you insert a picture as an object, without speciying that it shoul
also be linked, then that pictue does not have the name and path of it
source.

ronymaxwell;492722 said:
I have a canvas in a document with a number of pictures on it. I place
the pictures into the document manually. I manipulated them (.Left
.Top, .Name, etc) using Document.Shapes(1).CanvasItems(i). where
refers to each canvas shape in the collection. There are a lot o
pictures and I want to generate a list of their filenames (includin
path) without having to individually select each one and get the inf
manually. I can't find any way to reference the pictures and henc
their filenames. There doesn't seem to be a property in the canva
shapes collection to do this

+-------------------------------------------------------------------
|Filename: ListShapeNamesAndPath.txt
|Download: http://www.wordbanter.com/attachment.php?attachmentid=138
+-------------------------------------------------------------------
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top