Hello,
Its been a while since I’ve worked with MapBasic, so bear with me on potentially dumb questions.
I am trying to find code to set the region style to none and the region border to none.
I have a script that automates some printing, but before that script can run, we need to manually set the region style to none/none.
I’d love to drop that code in and save the manual and often forgotten step in.
Googling it did not come up with help.
Thank you.
Matthew
Hi Matthew
It depends on where you want to set that style.
The two styles look like this:
MakePen(1,1,0)
MakeBrush(1,0,0)
The second 1 for the Pen sets the Pen to use an invisible pattern
For Brush, it’s the first 1, that sets an invisible pattern.
If you want to set if on a specific layer, you can use this syntax:
Set Map Window FrontWindow() Layer 1 Display Global Global Pen(1,1,0) Brush(1,0,0)
I hope this helps
From: mapi...@googlegroups.com <mapi...@googlegroups.com>
On Behalf Of Matthew Hirsch
Sent: 15. januar 2021 01:21
To: mapi...@googlegroups.com
Subject: [MI-L] Code to set region style to none/none
This message originated Externally. Use proper judgement and caution with attachments, links, or responses. |
--
--
You received this message because you are subscribed to the
Google Groups "MapInfo-L" group.To post a message to this group, send
email to mapi...@googlegroups.com
To unsubscribe from this group, go to:
http://groups.google.com/group/mapinfo-l/subscribe?hl=en
For more options, information and links to MapInfo resources (searching
archives, feature requests, to visit our Wiki, visit the Welcome page at
http://groups.google.com/group/mapinfo-l?hl=en
---
You received this message because you are subscribed to the Google Groups "MapInfo-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
mapinfo-l+...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/mapinfo-l/398e033eff46490da6190f4e3d2b183c%40lmsg.co.