Creates on this page / in this group a copy of selected shapes, 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
[[Set] shapeRet =] object.DrawStampSelection ( xLeft, yTop, xRight, yBottom ) |
The DrawStampSelection method syntax has these parts:
Part | Description |
object | Required. An expression that returns an object in the Applies to list. |
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 selected shapes. |
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 selected shapes. |
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 selected shapes. |
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 selected shapes. |
shapeRet | Optional. A Shape type variable. |
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 DrawStampSelection 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.
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, DropStamp method, DropStampSelection method |