Shape.Cut Method (Visio)
Deletes an object or selection and places it on the Clipboard.
Possible values for Flags are declared by the Visio type library in VisCutCopyPasteCodes, and are described in the following table.
Follow default copying behavior.
Copy shapes to their original coordinate locations.
Copy shapes to the center of the page.
Do not clean up connectors attached to cut shapes.
Do not cut and copy unselected members of containers or lists.
Do not cut and copy unselected callouts associated with shapes.
Do not add pasted shapes to any underlying containers.
Do not offset shapes on copy.
Setting Flags to visCopyPasteNormal is the equivalent of the behavior in the user interface. You should use visCopyPasteNormal and the other flags consistently. For example, if you use the value visCopyPasteNoTranslate to copy, you should also use that value to paste, because that is the only way to ensure that shapes are pasted to their original coordinate location.
The following example shows how to use the Cut method. It draws a rectangle and then cuts it from the page (and places it on the Clipboard).