GraphicElement CreateTextGraphicElement( IElementContainer elementContainer, TextType textType, Geometry geometry, CIMTextSymbol textSymbol, string text, string elementName, bool select, ElementInfo elementInfo )
Function CreateTextGraphicElement( _ ByVal elementContainer As IElementContainer, _ ByVal textType As TextType, _ ByVal geometry As Geometry, _ Optional ByVal textSymbol As CIMTextSymbol, _ Optional ByVal text 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. It can be a presentation page or a group element that is associated with a presentation page.
- textType
- The type of text graphic to create
- geometry
- The geometry for the resulting graphic
- textSymbol
- The text symbol to be used with the graphic (optional)
- text
- The text string (optional)
- elementName
- An element name (optional)
- select
- Select after create flag (default is true) (optional)
- elementInfo
- Additional element properties (optional)