MapBasicFontStyle - Latest

Spectrum Spatial Guide

Product type
Software
Portfolio
Locate
Product family
Spectrumâ„¢ software
Product
Spectrumâ„¢ software > Spatial > Spectrum Spatial
Version
Latest
ft:locale
en-US
Product name
Spectrum Technology Platform
ft:title
Spectrum Spatial Guide
Copyright
2025
First publish date
2007
ft:lastEdition
2026-02-13
ft:lastPublication
2026-02-13T17:17:07.540000
L1_Product_Gateway
Locate
L2_Product_Segment
Location Intelligence
L3_Product_Brand
Precisely Spectrum Spatial
L4_Investment_Segment
LI Enterprise
L5_Product_Group
Enterprise LI
L6_Product_Name
Spectrum Spatial

Description

The MapBasicFontStyle element defines the font style portion of a MapBasicTextStyle.

Elements

The following table lists the elements that can be contained by a MapBasicFontStyle element.

Table 1. Elements
Element Description

FontName

Identifies the name of the font to use. For example, Arial or MapInfo Symbols, etc. MapInfo Fonts are installed with the product while other fonts are used from the system.
Style Controls text attributes, according to the following list:
  • 0 - Plain
  • 1 - Bold
  • 2 - Italic
  • 4 - Underline
  • 8 - Strikethrough
  • 32 - Shadow
  • 256 - Halo
  • 512 - All Caps
  • 1024 - Expanded

Size

The height of the characters in points.

ForegroundColor

A string value specifying the foreground color of the text.

The value can be any valid CSS color. (See http://www.w3.org/TR/REC-CSS1#color-units.)

BackgroundColor

A string value specifying the background color of the text.

The value can be any valid CSS color. (See http://www.w3.org/TR/REC-CSS1#color-units.)

Example

This example specifies a font style: Verdana 12 pt italic, black with red background.

<ns6:MapBasicFontStyle> 
    <ns6:FontName>Verdana</ns6:FontName> 
    <ns6:Size>12</ns6:Size> 
    <ns6:Style>2</ns6:Style> 
    <ns6:ForegroundColor>black</ns6:ForegroundColor> 
    <ns6:BackgroundColor>red</ns6:BackgroundColor> 
</ns6:MapBasicFontStyle>