# C1.WPF.Maps.LongLatConverter

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_Maps_LongLatConverter" data-uid="C1.WPF.Maps.LongLatConverter" class="text-break">LongLatConverter Class
</h1>
  <div class="markdown level0 summary"><p>Converts from a string to a <span class="xref">System.Windows.Point</span> representing a geographic coordinate and back.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.typeconverter">TypeConverter</a></div>
    <div class="level2"><span class="xref">LongLatConverter</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.Maps.html">C1.WPF.Maps</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.Maps.dll</h6>
  <h5 id="C1_WPF_Maps_LongLatConverter_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class LongLatConverter : TypeConverter</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class LongLatConverter
    Inherits TypeConverter</code></pre>
  </div>
  <h5 id="C1_WPF_Maps_LongLatConverter_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>When converting from a string, LongLatConverter accepts any of the formats defined by <a class="xref" href="C1.WPF.Maps.LongLatFormat.html">LongLatFormat</a>.</p>
</div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_Maps_LongLatConverter__ctor" data-uid="C1.WPF.Maps.LongLatConverter.#ctor">
          <a class="xref" href="C1.WPF.Maps.LongLatConverter.-ctor.html#C1_WPF_Maps_LongLatConverter__ctor">LongLatConverter()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_Maps_LongLatConverter_Format" data-uid="C1.WPF.Maps.LongLatConverter.Format">
          <a class="xref" href="C1.WPF.Maps.LongLatConverter.Format.html#C1_WPF_Maps_LongLatConverter_Format">Format</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="C1.WPF.Maps.LongLatFormat.html">LongLatFormat</a> used when converting to a string.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_Maps_LongLatConverter_CanConvertFrom_System_ComponentModel_ITypeDescriptorContext_System_Type_" data-uid="C1.WPF.Maps.LongLatConverter.CanConvertFrom(System.ComponentModel.ITypeDescriptorContext,System.Type)">
          <a class="xref" href="C1.WPF.Maps.LongLatConverter.CanConvertFrom.html#C1_WPF_Maps_LongLatConverter_CanConvertFrom_System_ComponentModel_ITypeDescriptorContext_System_Type_">CanConvertFrom(ITypeDescriptorContext, Type)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Maps_LongLatConverter_CanConvertTo_System_ComponentModel_ITypeDescriptorContext_System_Type_" data-uid="C1.WPF.Maps.LongLatConverter.CanConvertTo(System.ComponentModel.ITypeDescriptorContext,System.Type)">
          <a class="xref" href="C1.WPF.Maps.LongLatConverter.CanConvertTo.html#C1_WPF_Maps_LongLatConverter_CanConvertTo_System_ComponentModel_ITypeDescriptorContext_System_Type_">CanConvertTo(ITypeDescriptorContext, Type)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Maps_LongLatConverter_ConvertFrom_System_ComponentModel_ITypeDescriptorContext_System_Globalization_CultureInfo_System_Object_" data-uid="C1.WPF.Maps.LongLatConverter.ConvertFrom(System.ComponentModel.ITypeDescriptorContext,System.Globalization.CultureInfo,System.Object)">
          <a class="xref" href="C1.WPF.Maps.LongLatConverter.ConvertFrom.html#C1_WPF_Maps_LongLatConverter_ConvertFrom_System_ComponentModel_ITypeDescriptorContext_System_Globalization_CultureInfo_System_Object_">ConvertFrom(ITypeDescriptorContext, CultureInfo, object)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Maps_LongLatConverter_ConvertFromString_System_String_" data-uid="C1.WPF.Maps.LongLatConverter.ConvertFromString(System.String)">
          <a class="xref" href="C1.WPF.Maps.LongLatConverter.ConvertFromString.html#C1_WPF_Maps_LongLatConverter_ConvertFromString_System_String_">ConvertFromString(string)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Maps_LongLatConverter_ConvertTo_System_ComponentModel_ITypeDescriptorContext_System_Globalization_CultureInfo_System_Object_System_Type_" data-uid="C1.WPF.Maps.LongLatConverter.ConvertTo(System.ComponentModel.ITypeDescriptorContext,System.Globalization.CultureInfo,System.Object,System.Type)">
          <a class="xref" href="C1.WPF.Maps.LongLatConverter.ConvertTo.html#C1_WPF_Maps_LongLatConverter_ConvertTo_System_ComponentModel_ITypeDescriptorContext_System_Globalization_CultureInfo_System_Object_System_Type_">ConvertTo(ITypeDescriptorContext, CultureInfo, object, Type)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Maps_LongLatConverter_ConvertToString_System_Object_" data-uid="C1.WPF.Maps.LongLatConverter.ConvertToString(System.Object)">
          <a class="xref" href="C1.WPF.Maps.LongLatConverter.ConvertToString.html#C1_WPF_Maps_LongLatConverter_ConvertToString_System_Object_">ConvertToString(object)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>

</div>
