Foreign Element

Visio XML Reference

Contains elements specifying the width and height of an object from another program used in a Microsoft Office Visio document. Also includes elements specifying the distance the object's image is offset within its borders.

Syntax

  <Foreign
    [Del]>
</Foreign>

Attributes

Del

Optional boolean. A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted locally.

Element properties

Property Value
Name Foreign
Minimum Occurrences 0
Maximum Occurrences 1

Element information

Parent elements

PageSheet

Shape

StyleSheet

DocumentSheet

Child elements

ImgOffsetX

ImgOffsetY

ImgWidth

ImgHeight

Remarks

The Foreign element is relevant only when contained in a Shape element. It is ignored when contained in a DocumentSheet, PageSheet, or StyleSheet element.

See also

Foreign Image Info section