ArcGIS Pro 2.9 API Reference Guide
CreateRectangleParagraphGraphicElement(ILayoutElementContainer,Envelope,String) Method

ArcGIS.Desktop.Reports Namespace > IReportElementFactory Interface > CreateRectangleParagraphGraphicElement Method : CreateRectangleParagraphGraphicElement(ILayoutElementContainer,Envelope,String) Method
ILayoutElementContainer
Envelope
String
Creates a graphic rectangle text element on a layout from an envelope geometry with an added parameter to set the text symbol. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
Overloads Function CreateRectangleParagraphGraphicElement( _
   ByVal elementContainer As ILayoutElementContainer, _
   ByVal envelope As Envelope, _
   Optional ByVal text As String _
) As GraphicElement

Parameters

elementContainer
ILayoutElementContainer
envelope
Envelope
text
String

Return Value

Returns a GraphicElement.
Remarks
The element gets added to the group at the topmost position.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

IReportElementFactory Interface
IReportElementFactory Members
Overload List