aspose.diagram
Class Foreign

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.

Property Getters/Setters Summary
functiongetDel()
functionsetDel(value)
           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.
functiongetImgHeight()
           Determines the height of the object's image within its border. The default formula is: F="Height*1".
functiongetImgOffsetX()
           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".
functiongetImgOffsetY()
           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".
functiongetImgWidth()
           Determines the width of the object's image within its border. The default formula is: F="Width*1".
 
Method Summary
functiondeepClone()
           Creates deep copy of this instance.
 

Property Getters/Setters Detail

getDel/setDel : Number 

function getDel() / function setDel(value)
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.

getImgOffsetX : DoubleValue 

function getImgOffsetX()
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".

getImgOffsetY : DoubleValue 

function getImgOffsetY()
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".

getImgWidth : DoubleValue 

function getImgWidth()
Determines the width of the object's image within its border. The default formula is: F="Width*1".

getImgHeight : DoubleValue 

function getImgHeight()
Determines the height of the object's image within its border. The default formula is: F="Height*1".

Method Detail

deepClone

function deepClone()
Creates deep copy of this instance.
Returns:

See Also:
          Aspose.Cells Documentation - the home page for the Aspose.Cellss Product Documentation.
          Aspose.Cells Support Forum - our preferred method of support.