DropStamp Method

Creates on this page / in this group a copy of the specified shape, 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.DropStamp ( shapeToStamp, xGPin, yGPin )

The DropStamp method syntax has these parts:

Part Description
object Required. An expression that returns an object in the Applies to list.
shapeToStamp Required. An expression that returns a Shape object. The shape to be copied.
xGPin

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

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

Remarks

If a copy of shapeToStamp couldn't be created, the DropStamp method returns Nothing.

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, DropStampSelection method