Hi,
Is it possible to fill polygon with different patterns instead of fill with color.
Example:
Thanks,
Riyaz
Hi,
Is it possible to fill polygon with different patterns instead of fill with color.
Example:
Thanks,
Riyaz
Hi Riyaz,
The code as below is what you want:
GeoHatchBrush brush = new GeoHatchBrush(GeoHatchStyle.BackwardDiagonal, GeoColor.SimpleColors.Red,
GeoColor.SimpleColors.Transparent);
AreaStyle style = new AreaStyle();
style.Advanced.FillCustomBrush = brush;
mssqlFeatureLayer.ZoomLevelSet.ZoomLevel01.DefaultAreaStyle = style;
mssqlFeatureLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20;
Regards,
Ethan
Hi Ethan,
Thanks, It’s work out.
Riyaz
Hi Riyaz,
I am glad to hear that works.
Regards,
Ethan