Select to view content in your preferred language

How to add copyright text in exported image using snapshot widget

1421
4
Jump to solution
04-21-2012 04:17 AM
PankajChaudhari
Deactivated User
Hi All,

I am using snapshot widget (from code gallery) for exporting current map into JPEG and PNG format.

I want to add copyright text in exported images.

Please guide me in the right direction.

Any help much appreciated.

Thanks in advance.

Best Regards
Pankaj
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus
Pankaj,

   For that you would have to extend Erwans' Snapshot widget to add the copyright text yourself. You would need to look into drawing a TextField to the BitmapData. Sorry I won't be writing this code for you, if you need this ability you will have to do it.

View solution in original post

0 Kudos
4 Replies
RobertScheitlin__GISP
MVP Emeritus
Pankaj,

   The latest version 2.5.1 of the copyright widget now has the copyright in the export automatically.

http://www.arcgis.com/home/item.html?id=3893f396489344aa9f8fcdef15b3fe1b

Don't forget to click the Mark as answer check on this post and to click the top arrow (promote) as shown below:
0 Kudos
PankajChaudhari
Deactivated User
Hi Robert,

Thanks for your immediate reply.

Copyright widget is really nice.

But as i mentioned earlier, i am using snapshot widget for exporting map. When i export complete map, then copyright information is appearing in exported map.

But when i select map area using rectangle tool (selecting certain portion of map), its not appearing.

My requirement is, i want copyright information in each exported map, irrespective whether its a complete map or some portion of map.

Please assist me.

Thanks a lot.

Best Regards
Pankaj
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Pankaj,

   For that you would have to extend Erwans' Snapshot widget to add the copyright text yourself. You would need to look into drawing a TextField to the BitmapData. Sorry I won't be writing this code for you, if you need this ability you will have to do it.
0 Kudos
PankajChaudhari
Deactivated User
Hi Robert,

Thanks a lot for guiding me in right direction.

Best Regards
Pankaj
0 Kudos