PictureFormat.Filename Property
Publisher Developer Reference |
Returns a String that represents the file name of the specified picture or OLE object. Read-only.
Syntax
expression.Filename
expression A variable that represents a PictureFormat object.
Return Value
String
Remarks
For linked pictures and OLE objects, the returned string represents the full path and file name of the picture. For embedded pictures and OLE objects, the returned string represents the file name only.
To determine whether a shape represents a linked picture, use either the Type property of the Shape object, or the IsLinked property of the PictureFormat object.
Example
The following example returns selected image properties for each picture in the active publication.
Visual Basic for Applications |
---|
|
See Also