PictureFormat.OriginalFileSize Property
Publisher Developer Reference |
Returns a Long representing the size, in bytes, of the linked picture or OLE object. Read-only.
Syntax
expression.OriginalFileSize
expression A variable that represents an PictureFormat object.
Remarks
This property only applies to linked pictures. Returns "Permission Denied" for shapes representing embedded or pasted pictures.
Use either of the following properties to determine whether a shape represents a linked picture:
- The Type property of the Shape object
- The IsLinked property of the PictureFormat object
Example
The following example tests each picture in the active publication, and prints selected image properties for pictures that are linked.
Visual Basic for Applications |
---|
|
See Also