Moxi Media Inc.
<titletext> Discussion Forum

IMF Developer's Guide » Print Configuration » <titletext>  

The <titletext> element is used to add a user-entered title to the map template. The user specifies the title on the form used to request the map.

Note that the position attribute must be defined in the units defined by the units attribute of the <template> element, but the font-size is always defined in points.

Frequency Parent Elements (the <titletext> element is valid within):
PO+ <template>
   

Frequency Description (in this context)
PO+ The <titletext> element may appear one or more times within the <template> element in any order.
   

Attributes Description
position The page position of the text, expressed in the units specified in the units attribute of the <template> element. The position should be two numbers separated by a comma (with no white space), representing the x and y location. For example, if the units are "points", a value of "72,72" would indicate a position one inch from the left side and bottom side of the page. Required.
alignment The alignment of the text, relative to the position. Valid values are "left", "right", and "center". Required.
font The font of the text, chosen from one of the following valid font names: "helvetica", "helvetica_bold", "helvetica_boldoblique", "helvetica_oblique", "times_roman", "times_bold", "times_bolditalic", "times_italic", "courier", "courier_bold", "courier_boldoblique", "courier_oblique". Optional, defaults to "helvetica".
font-size The font size for the text, expressed in points. Integer value expected, example: font-size="9". Optional, defaults to "9".
default The default title added to the map if the user doesn't enter a title on the form. Optional, If there is no default and the user doesn't enter a title, the name of the ArcIMS map service will be shown on the map as a title. If you would prefer that no title is shown if the user doesn't enter one, use " " (a blank space) for your default title.
   

Example:

<titletext position="386,564" font="helvetica_bold" alignment="center" font-size="16" default="maps.gov.bc.ca"/>