ForeignData property

Microsoft Visio Developer Reference

ForeignData property

   Example   

Returns metafile, bitmap, or OLE data for a shape that represents a foreign object.

Version added

2002

Syntax

retVal = object.ForeignType

retVal

Byte. An array containing metafile, bitmap, or OLE data for the shape.

object

Required. An expression that returns a Shape object.

Remarks

To determine whether a shape represents a foreign object, use the ForeignType property.