asposediagram.api

Class Scratch

Contains a work area for entering and testing formulas that are referred to by other elements. This element is typically used to isolate repeated complex calculations.

Constructor Summary
Scratch()
Constructor.
 
Property Getters/Setters Summary
methodgetA()
method
setA(value)
           A general-purpose element.
methodgetB()
method
setB(value)
           A general-purpose scratch element.
methodgetC()
method
setC(value)
           A general-purpose element.
methodgetD()
method
setD(value)
           A general-purpose element.
methodgetDel()
method
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.
methodgetIX()
method
setIX(value)
           The zero-based index of the element within its parent element.
methodgetX()
method
setX(value)
           Specifies an x-coordinate on a shape in local coordinates. The following table describes the X element based on the element that contains it.
methodgetY()
method
setY(value)
           Specifies a y-coordinate on a shape in local coordinates. Local coordinates are those whose frame of reference is the shape, instead of the page.
 
Method Summary
methoddeepClone()
Creates deep copy of this instance.
 

    • Constructor Detail

      • Scratch

        Scratch()
        Constructor.
    • Property Getters/Setters Detail

      • getIX/setIX : int 

        int getIX() / setIX(value)
        
        The zero-based index of the element within its parent element.
      • getDel/setDel : int 

        int getDel() / 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.
      • getA/setA : Value 

        Value getA() / setA(value)
        
        A general-purpose element.
      • getB/setB : Value 

        Value getB() / setB(value)
        
        A general-purpose scratch element.
      • getC/setC : Value 

        Value getC() / setC(value)
        
        A general-purpose element.
      • getD/setD : Value 

        Value getD() / setD(value)
        
        A general-purpose element.
      • getX/setX : DoubleValue 

        DoubleValue getX() / setX(value)
        
        Specifies an x-coordinate on a shape in local coordinates. The following table describes the X element based on the element that contains it.
      • getY/setY : DoubleValue 

        DoubleValue getY() / setY(value)
        
        Specifies a y-coordinate on a shape in local coordinates. Local coordinates are those whose frame of reference is the shape, instead of the page.
    • Method Detail

      • deepClone

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