Ian,

You should be able to say 

Save Window frontwindow()  As "c:\map.bmp"  Type "BMP"  Resolution 600 

If you are using a version of MapBasic earlier than 7.0 this is probably
not available to you.

Kind Regards 

Jerry O'Sullivan

Jerry O'Sullivan
GIS Consultant
ESBI Computing Ltd
Stephen Court | 18-21 St. Stephen's Green | Dublin 2 
Tel +353 1 7038060 | Fax +353 1 6618455 
E-mail: [EMAIL PROTECTED]
www.esbic.ie



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ian Tidy
Sent: 30 January 2006 03:57
To: MapInfo-L
Subject: [MI-L] Help with "Save Window As" Command


Hi All,

I am not having a good day, but it is nearly home time.

I am writing a MapBasic program and trying to use the "Save Window As"
command, but I want to specify type output resolution, but I can't work
out how to specify "Pixels" as my unit type.  I have looked in my
MapBasic guide and it doesn't mention pixels.

I am trying to make it so the window size and resolution can be
controlled by the user.

So my question is "How do I set the resolution from MapBasic for the
Save Window As function?"

Cheers Ian

Ian Tidy
GIS Administrator
Works Asset Department
Napier City Council
Hastings St, Private Bag 6010, Napier, New Zealand
Phone +64-6-835-7579 Ext. 8115
Fax +64-6-835-7574
mailto:[EMAIL PROTECTED]
http://www.napier.govt.nz <http://www.napier.govt.nz/> 
 
 


######################################################################
Attention: 
This e-mail message and accompanying data may contain information that
is confidential and subject to legal privilege. Any information provided
is given in good faith. However unless specifically stated to the
contrary, Napier City Council accepts no liability for the content of
this e-mail or for the consequences of any action taken on the basis of
the information provided, unless that information is subsequently
confirmed in writing. If you are not the intended recipient, you are
notified that any use, dissemination, distribution or copying of this
message or data is prohibited. If you received this e-mail message in
error, please notify us immediately and erase all copies of this message
and attachments. Thank you.
_______________________________________________
MapInfo-L mailing list
[email protected]
http://www.directionsmag.com/mailman/listinfo/mapinfo-l


* ** *** ** * ** *** ** * ** *** ** * 
This email and any files transmitted with it are confidential and 
intended solely for the use of the individual or entity to whom they 
are addressed. 
Any views or opinions presented are solely those of the author, and do not 
necessarily 
represent those of ESB. 
If you have received this email in error please notify the sender. 
 
Although ESB scans e-mail and attachments for viruses, it does not guarantee 
that either are virus-free and accepts no liability for any damage sustained 
as a result of viruses. 
 
* ** *** ** * ** *** ** * ** *** ** *


_______________________________________________
MapInfo-L mailing list
[email protected]
http://www.directionsmag.com/mailman/listinfo/mapinfo-l

Reply via email to