Click here to Skip to main content
15,662,478 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am trying to create a CIMTextSymbol that I could write my string into.
Below in the code I have created a generic CIMTextSymbol , but I would like to write some text with it.

What I have tried:

private static Task<CIMTextSymbol> CreateSimpleLineCalloutAsync()
          return QueuedTask.Run(() =>
              var textSymbol = SymbolFactory.Instance.ConstructTextSymbol(ColorFactory.Instance.BlackRGB, 6, "Arial", "Regular");
              return textSymbol;

I will be glad for any advice and tips.

Updated 21-Jul-22 21:30pm

1 solution

See the sample code at CIMTextSymbol Class—ArcGIS Pro[^].
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900