A few comments, If you are using MapInfo 6.5 or 7.0: On the MapInfo cdrom there is a folder called PDF_Docs here you'll find a file called MB_Ref.pdf. This is the MapBasic reference guide. So all you need is a Acrobat Reader, and you have your MapBasic reference Guide.
If you are using MapInfo 7.0 and want to take use of the ability to set the resolution when saving window as, I will suggest that you get the patch for MapInfo 7.0 since there appearently has been a fix for exactly this functionality from within MapBasic. Peter ------------------------------------------------------------------------------------------------ Peter Horsb�ll M�ller, GIS Udviklingskonsulent / GIS-Developer Kampsax A/S - GIS Software & Solutions Rugaardsvej 55, 5000 Odense, DK tel: +45 6313 5013, dir:+45 6313 5008, fax: +45 6313 5090 mailto:[EMAIL PROTECTED] www.kampsax-gis.dk and www.kampsax.dk Authorized MapInfo Partner & Distributor in Denmark and Norway. ------------------------------------------------------------------------------------------------ Se mere om Dansk MapInfo Brugerkonference p� http://www.kampsax-gis.dk/Default.asp?ID=296 Klik ind p� http://www.kortal.dk og se det hele lidt fra oven! Check http://www.kortal.dk and have a look at Denmark from above! ----- Videresendt af Peter M�ller/Kampsax - 02-09-2002 11:09 ----- "Simmonds, Ashley (PTB)" <simmonds.ashley@saugov. Til: "'CRISP, Paul -Syntegra UK'" <[EMAIL PROTECTED]>, "'Mapinfo sa.gov.au> List (E-mail)'" <[EMAIL PROTECTED]>, "'Laurence Seeff'" <[EMAIL PROTECTED]> 02-09-2002 10:13 cc: Vedr.: RE: MI-L SUM Save Window As... thanks guys, got it werking. goes fantastic. for the record, here's my version of it... MIobj.do "Save window " & WindowIDee & " as " & Chr$(34) & Application.CurrentProject.Path & "\mapinfo\" & SelectedObject & ".png" & Chr$(34) & " Type " & Chr$(34) & "PNG" & Chr$(34) and no, no manual yet, but i seem to be cranking along okay anyhow. ash -----Original Message----- From: CRISP, Paul -Syntegra UK [mailto:[EMAIL PROTECTED]] Sent: Monday, 2 September 2002 5:24 PM To: 'Mapinfo List (E-mail)' Subject: RE: MI-L Save Window As... Ash - Its the MapBasic command Save Window As - eg (for int mapping) strMsg = "Save Window " & mlngMapWindowId & " as """ & strPath & """ type ""JPEG"" resolution 120 " & _ "Copyright " & chr(34) & sCopyrightMsg & chr(34) & " Font MakeFont(""Arial"", 1, 24, " & RED & ",-1)" mMapObj.Do strMsg You can use other resolution (dpi) settings or types - eg BMP, WMF, PNG as suits, and omit the copyright/font clause altogether. (Still no MapBasic manual then?!?) HTH Paul Crisp Syntegra Innovation Place Delta Bank Road Newcastle NE11 9DJ Tel 0191 461 4522 Fax 0191 460 1987 -----Original Message----- From: Laurence Seeff [mailto:[EMAIL PROTECTED]] Sent: Monday, 2 September 2002 6:21 PM To: Simmonds, Ashley (PTB) Subject: Re: MI-L Save Window As... Hi, I have used this in an application: Save window windownum as maindirectory+"L"+snifnum+".jpg" Type "JPEG" Where "windownum" is the id of the mapper window "maindirectory" is the string with the location/path "sinfnum" is the oultlet/branch/map map number or any other id reference Good luck and hope it helps Laurence Seeff Points Business Mapping Ltd. 22 Tuval St., Ramat Gan, 52522, Israel Tel: +972-3-6126216 Fax: +972-3-6126323 Email: [EMAIL PROTECTED] Web: www.points.co.il -----Original Message----- From: Simmonds, Ashley (PTB) [mailto:[EMAIL PROTECTED]] Sent: 02 September 2002 08:31 To: 'Mapinfo List (E-mail)' Subject: MI-L Save Window As... heya, could anyone please tell me the command to do this through MapBasic. i'm creating bitmaps of hundreds of maps, and i've got mapinfo going to the right place and zoom automatically, and i want an automated output of the current view. the user shouldn't see the dialog for saving the size of the map or the save dialog box. so RunMenuCommand is not suitable, i'm hoping it's something simple like MIobj.do "Save Window(1,"blah.BMP")" or whatever the name of the file is something i want to pass as a variable, and i know in advance the save location. gramercy ash ******************************************************************** This email may contain information which is privileged or confidential. If you are not the intended recipient of this email, please notify the sender immediately and delete it without reading, copying, storing, forwarding or disclosing its contents to any other person Thank you Check us out at http://www.syntegra.com ******************************************************************** --------------------------------------------------------------------- List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Message number: 2758 --------------------------------------------------------------------- List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Message number: 2759
