Page 1 of 1

Zoom and Raster

Posted: Fri Oct 02, 2009 3:17 am
by banzatto
I have a very big problem with zoom raster map. My raster is PNG with 2329 x 3154 with only 164kb and when i fit zoom with code :

GpsViewNET.Point tam = md.Size;
Mapa.Zoom = 1;
Mapa.ZoomByBoundingBox(new GpsViewNET.Point(0, 0), tam);

why this code with raster map doest run ?
don't generate error but no fit ...