HOW TO

Can I use TEXTMARKERSYMBOL with a fontstyle of Bold and Underlined?

Last Published: April 25, 2020

Summary

Yes. A workaround must be implemented to allow this.

Procedure

As described in the ArcXML reference guide for TEXTMARKERSYMBOL two parameters for fontstyle. Workaround this by using TEXTMARKERSYMBOL twice: once to set the text Bold and then with empty text set to Underlined to get the effect of Bold and Underlined.

Note:
Twice the number of blank spaces are required for the text that is underlined.

The following is an example of ArcXML code that includes etting the text 'ArcIMS 9.0' to be underlined and bold. There are 20 blank spaces set for there to be underlined text:

Code:
<ARCXML version="1.1">
<REQUEST>
<GET_IMAGE>
<PROPERTIES>
<ENVELOPE minx="-113.15716452803028" miny="30.17218325332378" maxx="-88.51966275662102" maxy="46.831433612179374" />
<IMAGESIZE width="643" height="502" />
</PROPERTIES>
<LAYER type="acetate" name="acetate" id="acetate">
<OBJECT units="pixel">
<TEXT coords="20 5" label="ArcIMS 9.0">
<TEXTMARKERSYMBOL font="Arial" fontsize="12" fontstyle="bold"/>
</TEXT>
</OBJECT>
<OBJECT units="pixel">
<TEXT coords="20 5" label=" ">
<TEXTMARKERSYMBOL font="Arial" fontsize="12" fontstyle="underline"/>
</TEXT>
</OBJECT>
</LAYER>
</GET_IMAGE>
</REQUEST>
</ARCXML>


Article ID:000007465

Software:
  • Legacy Products

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Discover more on this topic