adding a LinkPoint to TPolygon block with DiagramStudio component

Hello
How can I insert By Code A linkpoint in a position diferent from a Handle position.
for example the LinkPoint should be inside the polygon or on one of the sides?
Please Help.

You can't dot it directly. You have to inherit your own class from TPolygonBlock, add the link points to the collection yourself and then return their correct position by overriding method GetLinkPoint.