---+ .SHAPE SET SHAPE ID _This subroutine changes the shape id of the "current" shape._ <br />%TOC% ---++ Usage: <pre> PASS <shape_id> FIELD SHARE? N PASS <no_of_points> FIELD SHARE? N GOSUB OCD .SHAPE SET SHAPE ID * Check for error IF OCD .SHAPE SET SHAPE ID NE</pre> ---++ Description: <div id="_mcePaste">This subroutine changes the shape id of the "current" shape. You can use this to change the "current" shape to a different form.</div> <shape_id> is a required parameter, and the subroutine will cancel if it is not received. <shape_id> must be one of the following: squareShape, diamondShape, triangleShape, rightTriangleShape, leftTriangleShape, invertedTriangleShape, circleShape, glassSphereShape, glassSphere2Shape, solidSphereShape, starShape, polygonShape, polygon2Shape, crossShape, cross2Shape, and customShape. For <shape_ID>'s equal to "CustomShape", the designer must add the x,y coordinates of the vertices using [[CDShapeSetNextPoint][.SHAPE SET NEXT POINT]] for each vertice. For the Polygon shapes, you can also pass <no_of_points> for the number of sides (must be >3). For starShape, you can pass <no_of_points> for the number of points on the star (must be >3). For the cross shapes, you can pass a value between 0 and 1 to represent the percentage width of the arms of the a '+' relative to the entire shape. ---++ Comments: _Read what other users have said about this page or add your own comments._ <br />%COMMENT% -- Main.JeanNeron - 2011-10-20
This topic: Main
>
WebHome
>
APPX510Features
>
CDChartDirectorDesignerAPI
>
CDChartDirectorXYChartRoutines
>
CDShapeSetShape
Topic revision: r2 - 2012-02-25 - JeanNeron
Copyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback