Select to view content in your preferred language

ArcGISDynamicMapServiceLayer PNG32

460
2
11-08-2013 09:44 AM
RudolfKopriva1
Deactivated User
In the API 10.1 the Dynamic Layer export operation seems to be called with PNG format. I need to call it with PNG32. Can I set the default format in the code or can I configure the service so it will always return PNG32?
I see there are changes in the API 10.2, the format is changed when the service has 'supportsDynamicLayers' set to true. How is it related with the format?
0 Kudos
2 Replies
ErwinSoekianto
Esri Alum
Why do you need PNG32 specifically?

If you want to set transparency, you can use SetOpacity()
0 Kudos
RudolfKopriva1
Deactivated User
The server seems to set the opacity automatically when the export is called with PNG32, see the difference in attache image.
How can I get the correct opacity value for the layer?
Thank you.
0 Kudos