Steve - You could create the layout outside the screen extents, essentially
hiding it. This example uses the 'Position' clause to create it at 100,100:
Layout
Position (100,100) Units "in"
Width 8.55208 Units "in" Height 5.41667 Units "in"
Set CoordSys Layout Units "in"
Then you could issue PrintWin and Close Window commands to print and close
the layout:
PrintWin
Close Window FrontWindow()
-Tim Nuteson
Target Corporation
-----Original Message-----
From: Steven Heapy [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 08, 2001 9:01 PM
To: [EMAIL PROTECTED]
Subject: MI-L mapbasic question
Hi
Ive written a simple mapbasic app and when the user selects print I
would like to create and print a layout in the background without the
user seeing it.
I can create the layout no problems but would prefer it to be hiden not
minimised.
any help would be appreciated
cheers
Steve
_______________________________________________________________________
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, send e-mail to [EMAIL PROTECTED] and
put "unsubscribe MapInfo-L" in the message body.
_______________________________________________________________________
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, send e-mail to [EMAIL PROTECTED] and
put "unsubscribe MapInfo-L" in the message body.