Click or drag to resize

ConnectionSet Method

Sets the connection to the specified drawing and specified connection site on it.

Namespace:  GemBox.Presentation
Assembly:  GemBox.Presentation (in GemBox.Presentation.dll) Version: 21.3.35.1045 (21.3.35.1045)
Syntax
public void Set(
	VisualDrawing drawing,
	int siteIndex
)

Parameters

drawing
Type: GemBox.PresentationVisualDrawing
The drawing to make the final connection to.
siteIndex
Type: SystemInt32
The index into the connection site table of the drawing.
Exceptions
ExceptionCondition
ArgumentExceptionSpecified drawing is not on the same slide as the connector that should connect it.
ArgumentOutOfRangeExceptionParameter siteIndex is less than 0.
See Also