Hi Rob,
Sorry for the delay in getting back to you. You can use the symbol labels and position them at the desired location. You can use label.OffsetX / label.OffsetY properties to position the label at the desired location. This method moves the label by the given X and Y offsets from the control point. Please refer to the following code snippet.
SymbolLabel lbl2 = new SymbolLabel();
lbl2.Text = "Port1";
lbl2.Anchor = BoxPosition.TopRight;
lbl2.OffsetY=25;
this.AppendChild(lbl2);
I have attached the sample that demonstrates this completely. Please kindly refer to it and let me know if you have any questions.
Regards,
Nagaraj
Portlabelling.zip