Hi,
I'd like to construct the Marker line symbology perpendicular to the route layer, which should look like the attached screenshot.
However, I tried the code below, but I'm not sure if I'm on the right track.

Expected Output :

Could anyone please guide me here, how can I achieve this through C#.
Thanks in advance!