PictureFormat.FileSize Property
Publisher Developer Reference |
Returns a Long that represents, in bytes, the size of the picture or OLE object as it appears in the specified publication. Read-only.
Syntax
expression.FileSize
expression A variable that represents a PictureFormat object.
Return Value
Long
Remarks
If the picture or OLE object is linked, use the OriginalFileSize property to determine the size of the linked file.
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 tests each picture in the active publication, and prints selected image properties for pictures that are linked.
Visual Basic for Applications |
---|
|
See Also