<html>
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 10 (filtered)">
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
span.stylecourrierlectronique17
{font-family:Arial;
color:windowtext;}
span.StyleCourrierlectronique18
{font-family:Arial;
color:navy;}
@page Section1
{size:595.3pt 841.9pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=FR link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>Hi,</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>How I can use </span></font><font size=2
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'>processLegendTemplate
in c#</span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New"'> </span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New"'>My source :</span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New"'> </span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New"'>
map = new mapobj(<font color=maroon><span style='color:maroon'>@"C:\Fichier.map");</span></font></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New"'> </span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New"'>
...</span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New"'> </span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'>
<font color=blue><span style='color:blue'>string</span></font> str = <font
color=blue><span style='color:blue'>null</span></font>;</span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'>
<font color=blue><span style='color:blue'>string</span></font>[] names = <font
color=blue><span style='color:blue'>null</span></font>, values = <font
color=blue><span style='color:blue'>null</span></font>;</span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'>
</span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'>
names = <font color=blue><span style='color:blue'>new</span></font> <font
color=blue><span style='color:blue'>string</span></font>[] {<font color=maroon><span
style='color:maroon'>"map"</span></font>};</span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'>
values = <font color=blue><span style='color:blue'>new</span></font> <font
color=blue><span style='color:blue'>string</span></font>[] { <font
color=maroon><span style='color:maroon'>@"C:\Fichier.map"</span></font>
};</span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'> </span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New"'>
str =
map.processLegendTemplate(names, values, names.Length);</span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New"'> </span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New"'>
...</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>Error :</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>{"msFreeHashItems(): Hash table error. Can't
free NULL table;msFreeHashItems(): Hash table error. Can't free NULL
table;msFreeHashItems(): Hash table error. Can't free NULL table"}</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>Thanks for your help.</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'> </span></font></p>
<table class=MsoNormalTable border=0 cellpadding=0 width=246 style='width:184.5pt'>
<tr>
<td width=197 style='width:147.75pt;padding:.75pt .75pt .75pt .75pt'>
<p class=MsoNormal><b><font size=1 color="#eebb22" face=Arial><span
style='font-size:9.0pt;font-family:Arial;color:#EEBB22;font-weight:bold'><a
href="mailto:jmp@geosys.com"><font color="#eebb22"><span style='color:#EEBB22'>Jean-michel
PIERRET</span></font></a> - Poste 376</span></font></b></p>
</td>
</tr>
<tr>
<td width=197 style='width:147.75pt;padding:.75pt .75pt .75pt .75pt'>
<p class=MsoNormal><b><font size=1 color="#999999" face=Arial><span
style='font-size:9.0pt;font-family:Arial;color:#999999;font-weight:bold'>Tel
: +33 (0)5 62 47 80 76</span></font></b><font size=1 color="#999999"
face=Arial><span style='font-size:9.0pt;font-family:Arial;color:#999999'><br>
<b><span style='font-weight:bold'>Mail</span></b> : <a
href="mailto:jmp@geosys.com"><font color="#336699"><span style='color:#336699'>jmp@geosys.com</span></font></a><br>
</span></font><b><font size=1 color="#336699" face=Arial><span
style='font-size:9.0pt;font-family:Arial;color:#336699;font-weight:bold'>GEOSYS
SA</span></font></b></p>
</td>
</tr>
</table>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> </span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> </span></font></p>
</div>
</body>
</html>