hi,
i have some polygon in a FeatureLayer, how can i make bitmap from this but without load this FeatureLayer to Map ??
Thanks
How can i make bitmap from FeatureLayer
Hi Alireza,
What’s the feature layer type? If it’s a InmemoryFeatureLayer or ShapeFileFeatureLayer, you can directly draw them in an image.
You can find related sample in our ServiceEdition HowDoISamples project.
Regards,
Don
hi Don,
it’s MsSql2008FeatureLayer
Hi Alireza,
MsSql2008FeatureLayer is based on FeatureLayer, so I think it can works.
In fact your requirement is render the layer but not show it on map, you can do that in Overlay level by web edition, but I think directly do that in Layer level is better, so I suggest you view our ServiceEdition samples, all of them is based on Layer level and draw everything on a image. It don’t have a map control, so the result is drawn on image.
Regards,
Don
Hi Don,
thanks for your answer
do you have sample??
Hi Alireza,
Please visit the sample LoadMsSql2008FeatureLayer in Service Edition HowDoISamples.
It draw image into a bitmap.
Regards,
Don