Hi I'm having trouble with the Create Point Text Element 1 code snippet:
https://github.com/Esri/arcgis-pro-sdk/wiki/ProSnippets-Layouts#create-point-text-element-1
on this line:
var ptTxtElm = ElementFactory.Instance.CreateTextGraphicElement(
container, TextType.PointText, coord2D.ToMapPoint(), sym, textString,
"New Point Text", true, elemInfo);for 'container' variable I'm getting an error: The name 'container' does not exist in the current context. As I look at the snippet I don't see that container has been defined above this point
Thanks
Pete