I would like the connector text appear a little above ( SHOW HERE ) ; compared to the default position (FastEherenet /021 ). Please refer the attachment
Shall it be possible. Please let me know
Can you please share your input document, code and your expected output?
Please refer to the picture
The text “FastEthernet” should be displayed where “SHOW HERE” text is being displayed .
Here is the code
Shape conSrcToVlan = new Shape();
string connectorMaster = “Dynamic connector”;
long srcVlanId = topologyDiagram.AddShape(conSrcToVlan, connectorMaster);
topologyDiagram.Connect(sourceDeviceId, ConnectionPointPlace.Right, vlanShapeId, ConnectionPointPlace.Left, srcVlanId);
The Connect method is as below
public void Connect(long shapeFrom, ConnectionPointPlace placeFrom, long shapeTo, ConnectionPointPlace placeTo, long connectorId)
_diagram.Pages.ConnectShapesViaConnector(shapeFrom, placeFrom, shapeTo, placeTo, connectorId);
Hi Imran ,
Please refer the picture in first post in this thread .
I would like to display FastEthernet /021 at the place “SHOW HERE” has been displayed
connector.Controls.X.Value = 0.9375;
connector.Controls.Y.Value = 0.125;
Please explain me “Controls tab under each Shape Sheet” .
I am not familiar with the screenshot, are you using ActiveX control . Can I use them in Winforms ( design mode )