Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

Shape.ForeignType Property (Visio)

Returns the subtype of a Shape object that represents a foreign object. Read-only.

Version Added: Visio 4.1

expression .ForeignType

expression A variable that represents a Shape object.

Return Value

Integer

If the Type property of a Shape object returns any value other than visTypeForeignObject, the ForeignType property returns the same value as the Shape object's Type property. If the Type property of a Shape object returns visTypeForeignObject, the ForeignType property returns a combination of the following values.

Constant

Value

visTypeMetafile

&H0010

visTypeBitmap

&H0020

visTypeIsLinked

&H0100

visTypeIsEmbedded

&H0200

visTypeIsControl

&H0400

visTypeIsOLE2

&H8000

If the shape represents an OLE 2.0 embedded object, for example, its ForeignType property is &H8200.

Show:
© 2015 Microsoft