Declaration:  DeletePoint(ItemPath: String; Index: Integer);
Deletes the point at position Index.

Source Code:

DeletePoint(itempath, 1);