can we draw a polygon fill with image instead of solid color

Topics: SharpMap Project, SharpMap v0.9 / v1.x, Web Controls
Mar 29, 2008 at 8:07 AM
Edited Mar 29, 2008 at 8:10 AM
this sharpmap is wonderful, but may i ask a question

have u guys plan to add an ability in sharpmap so we could draw a polygon fill with image instead of solid color ?

i really want to get involved, but i dont know much about c# , so i still try to understand ur code

Coordinator
Mar 29, 2008 at 11:50 AM
Hi joane3005, use a texture brush http://msdn2.microsoft.com/en-us/library/system.drawing.texturebrush.aspx for the Fill property of your vector style. HTH jd
Mar 30, 2008 at 1:33 AM
it work fine in C# but not in VB

As u know, VB.net act differently, we can only delegate something for the same type, exact type.

so when i tried to use texturebrush, it's failed. i use the 0.9 version.