DrawStamp Method

Creates on this page / in this group a copy of the specified shape, with the specified dimensions and 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.DrawStamp ( shapeToStamp, xLeft, yTop, xRight, yBottom )

The DrawStamp 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.
xLeft Required. An expression that returns a Double value. The X-coordinate of the top left corner of the bound that will encompass the copy of the shape in shapeToStamp.
yTop Required. An expression that returns a Double value. The Y-coordinate of the top left corner of the bound that will encompass the copy of the shape in shapeToStamp.
xRight Required. An expression that returns a Double value. The X-coordinate of the bottom right corner of the bound that will encompass the copy of the shape in shapeToStamp.
yBottom Required. An expression that returns a Double value. The Y-coordinate of the bottom right corner of the bound that will encompass the copy of the shape in shapeToStamp.
shapeRet Optional. A Shape type variable.

Remarks

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

Note, that the order in which the coordinates of the bound encompassing the copy of the shape are specified, is not significant. 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

DrawStamp method, DrawStampSelection method, DropStamp method, DropStampSelection method