Modifying Themetic Border Styles using Color Palettes - MapInfo_Pro - 2023

MapInfo Pro Help

Product type
Software
Portfolio
Locate
Product family
MapInfo
Product
MapInfo > MapInfo Pro
Version
2023
Language
English
Product name
MapInfo Pro
Title
MapInfo Pro Help
First publish date
1985
Last updated
2023-09-12
Published on
2023-09-12T16:39:16.995549

You can change the border style and color attributes of Ranged and Individual thematic maps by specifying the desired values for each individual bin from the respective Customize Styles dialog box. However, there is a faster way to change the border style attributes of all bins together to a fixed value for Range and Individual value themes. You can edit the Colorbrewer.xml file that is located in the MapInfo Pro installation directory. The DefaultStyleAttributes node in ColorBrewer.xml file controls the border style attributes.

<DefaultStyleAttributes>
    <Region>
        <BorderWidth IsApplied="false" Width="1" IsPixels="true"/>
        <BorderStyle IsApplied="false" StyleNumber="2"/>
        <BorderColor IsApplied="false" R="0" G="0" B="0" />
    </Region>
</DefaultStyleAttributes>

Use the three nodes, BorderWidth, BorderStyle and BorderColor, for styling borders in your themes. Each of these three nodes has an attribute IsApplied. Set this attribute to true to apply this style to all the bins when the Color Palette option is used in a theme.

Table 1.
Border Style Node Description
BorderWidth The Width attribute accepts value in pixels as well as in points. To specify the Width value in points, set theIsPixels attribute to false. The pixel width can range from 1 to 7 and point width can go up to 203.7
BorderStyle The style pattern value can be specified in the StyleNumber attribute. It takes an integer value from 1 to 118.
BorderColor RGB values of the color can be provided in the R, G and B nodes.
Note: This XML file is read only once when MapInfo Pro is launched. So any change in the XML file, requires a restart of the existing instance of MapInfo Pro to see the effect of the XML file updates. By default, this option is disabled in Mapinfo Pro and the IsApplied attribute set to false for all the three border style nodes.