aspose.diagram
Class Connection

Contains elements for one connection point defined for the shape.

Constructor Summary
Connection()
           Constructor.
 
Property Getters/Setters Summary
functiongetAutoGen()
           Specifies if the connection point is generated automatically. A value of 1 indicates that the connection point is generated automatically.
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.
functiongetDirX()
           Specifies the x-component for the required alignment vector of a matching connection point. The DirX element is also used to orient the attached leg of a dynamic connector.
functiongetDirY()
           Specifies the y-component for the required alignment vector of a matching connection point. The DirY element is also used to orient the attached leg of a dynamic connector.
functiongetID()
functionsetID(value)
           The unique ID of the element within its parent element.
functiongetIX()
functionsetIX(value)
           The zero-based index of the element within its parent element.
functiongetName()
functionsetName(value)
           The name of the element.
functiongetNameU()
functionsetNameU(value)
           The universal name of the element.
functiongetPrompt()
           Contains varying prompt information, based on the element in which it is contained.
functiongetType()
           Specifies various types, based on the element in which it is contained.
functiongetX()
           Specifies an x-coordinate on a shape in local coordinates.
functiongetY()
           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
functiondeepClone()
           Creates deep copy of this instance.
 

Constructor Detail

Connection

function Connection()
Constructor.

Property Getters/Setters Detail

getName/setName : String 

function getName() / function setName(value)
The name of the element.

getNameU/setNameU : String 

function getNameU() / function setNameU(value)
The universal name of the element.

getID/setID : Number 

function getID() / function setID(value)
The unique ID of the element within its parent element.

getIX/setIX : Number 

function getIX() / function setIX(value)
The zero-based index of the element within its parent element.

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.

getX : DoubleValue 

function getX()
Specifies an x-coordinate on a shape in local coordinates.

getY : DoubleValue 

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

getDirX : DoubleValue 

function getDirX()
Specifies the x-component for the required alignment vector of a matching connection point. The DirX element is also used to orient the attached leg of a dynamic connector.

getDirY : DoubleValue 

function getDirY()
Specifies the y-component for the required alignment vector of a matching connection point. The DirY element is also used to orient the attached leg of a dynamic connector.

getType : TypeConnection 

function getType()
Specifies various types, based on the element in which it is contained.

getAutoGen : BoolValue 

function getAutoGen()
Specifies if the connection point is generated automatically. A value of 1 indicates that the connection point is generated automatically.

getPrompt : Str2Value 

function getPrompt()
Contains varying prompt information, based on the element in which it is contained.

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.