GraphicElement CreatePictureGraphicElement( IElementContainer elementContainer, Geometry frameOrLocation, string url, string elementName, bool select, ElementInfo elementInfo )
Function CreatePictureGraphicElement( _ ByVal elementContainer As IElementContainer, _ ByVal frameOrLocation As Geometry, _ ByVal url As String, _ Optional ByVal elementName As String, _ Optional ByVal select As Boolean, _ Optional ByVal elementInfo As ElementInfo _ ) As GraphicElement
Parameters
- elementContainer
- The parent element container
- frameOrLocation
- The picture graphic envelope (frame) or center point
- url
- The url of the image to use
- elementName
- An element name (optional)
- select
- Select after create flag (default is true) (optional)
- elementInfo
- Additional element properties (optional)