I want to create renderer to fill the lines like what ArcGIS pro does in the picture below(Picture stroke).
Is it possible? I could not find example code for it. Can someone help please....
Solved! Go to Solution.
I found a way to make it. I am not sure if this the proper way..
SimpleRenderer r0 = new SimpleRenderer();
PictureMarkerSymbolLayer symbolLayer = new PictureMarkerSymbolLayer(picture);
MultilayerPolylineSymbol symbol = new MultilayerPolylineSymbol(new[] { symbolLayer })
{
Width = 10d,
};
r0.Symbol = symbol;
I found a way to make it. I am not sure if this the proper way..
SimpleRenderer r0 = new SimpleRenderer();
PictureMarkerSymbolLayer symbolLayer = new PictureMarkerSymbolLayer(picture);
MultilayerPolylineSymbol symbol = new MultilayerPolylineSymbol(new[] { symbolLayer })
{
Width = 10d,
};
r0.Symbol = symbol;
That is the right way.
Thanks for confirmation..