After selecting the Polygon(Polygon) control on the control bar, use the mouse to add points one after another on the form. Double-click at the final point to complete the drawing. If you forget to double-click at the point you wanted to make the final point, double-click at the position of the last point added to complete the drawing. Polygon(Polygon) shapes are automatically closed (the starting point and final point are automatically connected), so there is no need to overlap the final point with the starting point.
You can modify the shape of a polygon (Polygon) control even after it has been created. When you move the mouse to each of the points below, the mouse will display a + sign. Drag and drop each point to modify the shape.

You can also add, delete, or insert points after creating a polygon (Polygon) control using the Points property, which has the following format:
X coordinate of point 1, Y coordinate of point 1, X coordinate of point 2, Y coordinate of point 2, ... X coordinate of final point, Y coordinate of final point,
Example: If there are four points
465,240,447,256,430,256,430,290
If you want to add, delete, or insert points, edit the Points property directly.
|