Click here to Skip to main content
15,881,089 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
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:

C#
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.

David
Posted
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