aspose.diagram

Class Connect

Represents a connection between two shapes in a drawing, such as a line and a box in an organization chart.

Constructor Summary
Connect()
Constructor.
 
Property Getters/Setters Summary
functiongetFromCell()
function
           The ID of the shape to which one or more connections are made.
functiongetFromPart()
function
           The cell from which a connection originates. The value of the property is FromPartValue integer constant.
functiongetFromSheet()
function
           The ID of the shape from which a connection or connections originate.
functiongetToCell()
function
setToCell(value)
           The cell to which a connection is made.
functiongetToPart()
function
setToPart(value)
           The part of a shape to which a connection is made. The value of the property is ToPartValue integer constant.
functiongetToSheet()
function
setToSheet(value)
           The ID of the shape to which one or more connections are made
 
Method Summary
functiondeepClone()
Creates deep copy of this instance.
 

    • Constructor Detail

      • Connect

        function Connect()
        Constructor.
    • Property Getters/Setters Detail

      • getFromSheet/setFromSheet : Number 

        function getFromSheet() / function setFromSheet(value)
        
        The ID of the shape from which a connection or connections originate.
      • getToSheet/setToSheet : Number 

        function getToSheet() / function setToSheet(value)
        
        The ID of the shape to which one or more connections are made
      • getFromCell/setFromCell : String 

        function getFromCell() / function setFromCell(value)
        
        The ID of the shape to which one or more connections are made.
      • getToCell/setToCell : String 

        function getToCell() / function setToCell(value)
        
        The cell to which a connection is made.
      • getFromPart/setFromPart : Number 

        function getFromPart() / function setFromPart(value)
        
        The cell from which a connection originates. The value of the property is FromPartValue integer constant.
      • getToPart/setToPart : Number 

        function getToPart() / function setToPart(value)
        
        The part of a shape to which a connection is made. The value of the property is ToPartValue integer constant.
    • Method Detail

      • deepClone

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