Quantcast
Viewing all articles
Browse latest Browse all 2341

New Post: Snapshot3 background color (VBA)

Hey All,

I'm having issues trying to export a colored image from the control.
I load a shape file in, set the back color using:
Me.Map1.BackColor = RGB(100, 100, 100)
create the image using:
Set image = Map1.SnapShot3(extents.xMin - 100#, extents.xMax + 100#, extents.yMax + 100#, extents.yMin - 100#, 2000)
success = image.Save("C:\Users\stephen.belli\Desktop\Capture.JPG", True, MapWinGIS.ImageType.JPEG_FILE)
and the backcolor doesn't persist in the exported image.

TIA :)

Viewing all articles
Browse latest Browse all 2341

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>