Is it possible to change the fill line (not outline) width of a SimpleFillSymbolStyle? We'd like to have the polygon fill be diagonal lines with a width of 4px.
You could create your own Fill Symbol with line width 4 as a .stylx file in ArcGIS Pro and use SymbolStyle class to access that .stylx file.
Using Custom Pro Symbols in ArcGIS Runtime
Hope that helps.
Thanks for the suggestion Nagma. I have ArcGIS Pro but my time using it is very limited. Do you have any documentation to create a Fill Symbol?
I have created a video that shows how to create stylx file in ArcGIS Pro for Fill Symbol with your defined line width. 03.21.2018-13.56.49
Attached is my .stylx file.
In addition, please take a look of this thread on how to use that .stylx file to render your feature layer.
How to create render from symbol Stylex
Another tip: once you have followed Nagma's steps to create and export the stylx file from Pro and you have created a symbol from that via the API, you can call ToJson() on the symbol and get the JSON representation. You can then modify the JSON as you need to adjust it or create additional symbols. Use the modified JSON string(s) with the Symbol.FromJson() method (Symbol.ToJson Method) to create symbols.
Retrieving data ...