[]
Layouts the connection shape.
public void AutoLayout(Rectangle firstBounds, Rectangle secondBounds, bool updateAdjustments, bool updateParentBoundary = true, bool applyDisplayFormulas = false, bool updateBoundary = true, IWorksheet contextWorksheet = null)
Public Sub AutoLayout(firstBounds As Rectangle, secondBounds As Rectangle, updateAdjustments As Boolean, Optional updateParentBoundary As Boolean = True, Optional applyDisplayFormulas As Boolean = False, Optional updateBoundary As Boolean = True, Optional contextWorksheet As IWorksheet = Nothing)
Type | Name | Description |
---|---|---|
Rectangle | firstBounds | The first bound. |
Rectangle | secondBounds | The second bound. |
bool | updateAdjustments | Update the adjustment. |
bool | updateParentBoundary | Update parent boundary |
bool | applyDisplayFormulas | Apply display formula. |
bool | updateBoundary | Update boundary |
IWorksheet | contextWorksheet | A context worksheet |
Layouts the connection shape automatically.
public void AutoLayout(Rectangle firstBounds, Rectangle secondBounds, Point startPoint, Point endPoint, bool updateAdjustments, bool updateParentBoundary = true, bool applyDisplayFormulas = false, bool updateBoundary = true, IWorksheet contextWorksheet = null)
Public Sub AutoLayout(firstBounds As Rectangle, secondBounds As Rectangle, startPoint As Point, endPoint As Point, updateAdjustments As Boolean, Optional updateParentBoundary As Boolean = True, Optional applyDisplayFormulas As Boolean = False, Optional updateBoundary As Boolean = True, Optional contextWorksheet As IWorksheet = Nothing)
Type | Name | Description |
---|---|---|
Rectangle | firstBounds | The first bound. |
Rectangle | secondBounds | The second bound. |
Point | startPoint | The start point of the connection shape. |
Point | endPoint | The end point of the connection shape. |
bool | updateAdjustments | Update the adjustment. |
bool | updateParentBoundary | Update parent boundary. |
bool | applyDisplayFormulas | Apply display formula. |
bool | updateBoundary | Update boundary |
IWorksheet | contextWorksheet | A context worksheet |
Layouts the connection shape to fit 2 specified points.
public void AutoLayout(Point startPoint, Point endPoint, bool updateParentBoundary = true, bool applyDisplayFormulas = false, IWorksheet contextWorksheet = null)
Public Sub AutoLayout(startPoint As Point, endPoint As Point, Optional updateParentBoundary As Boolean = True, Optional applyDisplayFormulas As Boolean = False, Optional contextWorksheet As IWorksheet = Nothing)
Type | Name | Description |
---|---|---|
Point | startPoint | The start point of the connection shape. |
Point | endPoint | The end point of the connection shape. |
bool | updateParentBoundary | |
bool | applyDisplayFormulas | Apply display formula. |
IWorksheet | contextWorksheet | a context worksheet. |
The connection shape will layout automatically to fit with current connection sites.
public void AutoLayout(bool applyDisplayFormulas = false, bool updateBoundary = true)
Public Sub AutoLayout(Optional applyDisplayFormulas As Boolean = False, Optional updateBoundary As Boolean = True)
Type | Name | Description |
---|---|---|
bool | applyDisplayFormulas | Apply display formula. |
bool | updateBoundary | Update boundary |