com.aspose.diagram

  • java.lang.Object
    • com.aspose.diagram.Foreign
public class Foreign 
extends java.lang.Object

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
intgetDel()
void
setDel(intvalue)
           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.
DoubleValuegetImgHeight()
Determines the height of the object's image within its border. The default formula is: F="Height*1".
DoubleValuegetImgOffsetX()
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".
DoubleValuegetImgOffsetY()
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".
DoubleValuegetImgWidth()
Determines the width of the object's image within its border. The default formula is: F="Width*1".
 
Method Summary
java.lang.ObjectdeepClone()
Creates deep copy of this instance.
 

    • Property Getters/Setters Detail

      • getDel/setDel

        public int getDel() / public void setDel(int 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

        public DoubleValue 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

        public DoubleValue 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

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

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

      • deepClone

        public java.lang.Object deepClone()
                        throws java.lang.Exception
        Creates deep copy of this instance.
        Returns: