Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
XML
data.xmlanalysis
mappoint.webservice
msf
msxml-webrelease
netmyservices.sdk
passport.sdk
soap
soapsdk
uddi.general
uddi.programming
uddi.specification
xml
xmlsqlwebrelease
xsl
  
 
date: Mon, 22 Oct 2007 06:16:03 -0700,    group: microsoft.public.mappoint.webservice        back       


Getting error message when creating bitmap image.   
I am trying to plot my pushpins manually, but when I go to create the bitmap, 
I get an error message.  Has anyone gotten this message before?

code:
            MapImage[] mapImages = render.GetMap(mapSpec);
            MapImage mi = new MapImage();
            mi = mapImages[0];

            Bitmap newBitmap = new Bitmap(800, 600);
            Graphics graphics = Graphics.FromImage(newBitmap);
            Bitmap mapBitmap = new Bitmap(new 
System.IO.MemoryStream(mi.MimeData.Bits));

I get error message when the bitmap line that says:
Object reference not set to an instance of an object.
date: Mon, 22 Oct 2007 06:16:03 -0700   author:   Amy

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us