DropStampSelection Method

Creates on this page / in this group a copy of selected shapes, and places it to the specified position, similar to the Stamp Tool in ConceptDraw. Returns a Shape object that corresponds to the created shape.

Applies to: Page object, Shape object

Syntax

[[Set] shapeRet =] object.DropStampSelection ( xGPin, yGPin )

The DropStampSelection method syntax has these parts:

Part Description
object Required. An expression that returns an object in the Applies to list.
xGPin

Required. An expression that returns a Double value. The X-coordinate of the rotation center (the GPinX property) for the copy of the selected shapes.

yGPin Required. An expression that returns a Double value. The Y-coordinate of the rotation center (the GPinY property) for the copy of the selected shapes.
shapeRet Optional. A Shape type variable.

Remarks

Selected shapes are the shapes selected on the active page of the ConceptDraw document to which object belongs. If a copy of the selected shapes couldn't be created, the DropStampSelection method returns Nothing. Copies of the selected shapes are grouped into one group, which is then positioned at the specified coordinates. If the operation has been successful, the method returns a Shape object that corresponds to the newly created shape or group.

The coordinates are specified in the coordinate system of the shape, group or page to which the instance of object corresponds. The coordinates are measured in internal units (InternalUnit).

 

See Also

GPinX property, GPinY property, DrawStamp method, DrawStampSelection method, DropStamp method