Foreign

Foreign class

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

Properties

NameTypeDescription
DelintA flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted loca
ImgOffsetXDoubleValueDetermines the distance the object is offset horizontally from the origin of the object’s border. The default value is 0
ImgOffsetYDoubleValueDetermines the distance the object is offset vertically from the origin of the object’s border. The default value is 0;
ImgWidthDoubleValueDetermines the width of the object’s image within its border. The default formula is: F=“Width*1”.
ImgHeightDoubleValueDetermines the height of the object’s image within its border. The default formula is: F=“Height*1”.

Methods

NameDescription
deepCloneCreates deep copy of this instance.

Foreign.Del property

A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted locally. The value of the property is BOOL integer constant.

Type: int

Foreign.ImgOffsetX property

Determines the distance the object is offset horizontally from the origin of the object’s border. The default value is 0; the default formula is F=“ImgWidth*0”.

Type: DoubleValue

Foreign.ImgOffsetY property

Determines the distance the object is offset vertically from the origin of the object’s border. The default value is 0; the default formula is F=“ImgHeight*0”.

Type: DoubleValue

Foreign.ImgWidth property

Determines the width of the object’s image within its border. The default formula is: F=“Width*1”.

Type: DoubleValue

Foreign.ImgHeight property

Determines the height of the object’s image within its border. The default formula is: F=“Height*1”.

Type: DoubleValue

deepClone()

Creates deep copy of this instance.