GraphicElement CreatePredefinedShapeGraphicElement( IElementContainer elementContainer, PredefinedShape shapeType, MapPoint location, double width, double height, CIMPolygonSymbol polySymbol, string elementName, bool select, ElementInfo elementInfo )
Overloads Function CreatePredefinedShapeGraphicElement( _ ByVal elementContainer As IElementContainer, _ ByVal shapeType As PredefinedShape, _ ByVal location As MapPoint, _ Optional ByVal width As Double, _ Optional ByVal height As Double, _ Optional ByVal polySymbol As CIMPolygonSymbol, _ Optional ByVal elementName As String, _ Optional ByVal select As Boolean, _ Optional ByVal elementInfo As ElementInfo _ ) As GraphicElement
Parameters
- elementContainer
- The parent element container
- shapeType
- The shape type of the graphic
- location
- The location of the graphic
- width
- The width of the graphic bounding box (optional)
- height
- The height of the graphic bounding box (optional)
- polySymbol
- The symbol to be used with the graphic (optional)
- elementName
- An element name (optional)
- select
- Select after create flag (default is true) (optional)
- elementInfo
- Additional element properties (optional)