# C1.FlexMap.IMapDevice

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_FlexMap_IMapDevice" data-uid="C1.FlexMap.IMapDevice" class="text-break">IMapDevice Interface
</h1>
  <div class="markdown level0 summary"><p>Internal used. Repsents the device used to rendering the <span class="xref">C1.FlexMap.C1FlexMap</span>.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.FlexMap.html">C1.FlexMap</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.Map.4.8.dll</h6>
  <h5 id="C1_FlexMap_IMapDevice_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public interface IMapDevice</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Interface IMapDevice</code></pre>
  </div>
  <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_FlexMap_IMapDevice_IsCentering" data-uid="C1.FlexMap.IMapDevice.IsCentering">
          <a class="xref" href="C1.FlexMap.IMapDevice.IsCentering.html#C1_FlexMap_IMapDevice_IsCentering">IsCentering</a>
        </td>
        <td class="markdown level1 summary"><p>Whether the map is under translating.</p>
</td>
      </tr>
      <tr>
        <td id="C1_FlexMap_IMapDevice_IsZooming" data-uid="C1.FlexMap.IMapDevice.IsZooming">
          <a class="xref" href="C1.FlexMap.IMapDevice.IsZooming.html#C1_FlexMap_IMapDevice_IsZooming">IsZooming</a>
        </td>
        <td class="markdown level1 summary"><p>Whether the map is under scaling.</p>
</td>
      </tr>
      <tr>
        <td id="C1_FlexMap_IMapDevice_RightToLeft" data-uid="C1.FlexMap.IMapDevice.RightToLeft">
          <a class="xref" href="C1.FlexMap.IMapDevice.RightToLeft.html#C1_FlexMap_IMapDevice_RightToLeft">RightToLeft</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether right-to-left mirror placement is turned on.</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_FlexMap_IMapDevice_AfterRenderLayer_C1_FlexMap_IMapLayer_" data-uid="C1.FlexMap.IMapDevice.AfterRenderLayer(C1.FlexMap.IMapLayer)">
          <a class="xref" href="C1.FlexMap.IMapDevice.AfterRenderLayer.html#C1_FlexMap_IMapDevice_AfterRenderLayer_C1_FlexMap_IMapLayer_">AfterRenderLayer(IMapLayer)</a>
        </td>
        <td class="markdown level1 summary"><p>Invoked after rendering a map layer.</p>
</td>
      </tr>
      <tr>
        <td id="C1_FlexMap_IMapDevice_AfterRenderLegend_C1_FlexMap_MapLegend_" data-uid="C1.FlexMap.IMapDevice.AfterRenderLegend(C1.FlexMap.MapLegend)">
          <a class="xref" href="C1.FlexMap.IMapDevice.AfterRenderLegend.html#C1_FlexMap_IMapDevice_AfterRenderLegend_C1_FlexMap_MapLegend_">AfterRenderLegend(MapLegend)</a>
        </td>
        <td class="markdown level1 summary"><p>Invoked after rendering a map legend.</p>
</td>
      </tr>
      <tr>
        <td id="C1_FlexMap_IMapDevice_AfterRenderMap_C1_FlexMap_C1FlexMap_" data-uid="C1.FlexMap.IMapDevice.AfterRenderMap(C1.FlexMap.C1FlexMap)">
          <a class="xref" href="C1.FlexMap.IMapDevice.AfterRenderMap.html#C1_FlexMap_IMapDevice_AfterRenderMap_C1_FlexMap_C1FlexMap_">AfterRenderMap(C1FlexMap)</a>
        </td>
        <td class="markdown level1 summary"><p>Invoked after renndering a map.</p>
</td>
      </tr>
      <tr>
        <td id="C1_FlexMap_IMapDevice_AfterRenderVector_C1_FlexMap_VectorItem_" data-uid="C1.FlexMap.IMapDevice.AfterRenderVector(C1.FlexMap.VectorItem)">
          <a class="xref" href="C1.FlexMap.IMapDevice.AfterRenderVector.html#C1_FlexMap_IMapDevice_AfterRenderVector_C1_FlexMap_VectorItem_">AfterRenderVector(VectorItem)</a>
        </td>
        <td class="markdown level1 summary"><p>Invoked after rendering a vector item.</p>
</td>
      </tr>
      <tr>
        <td id="C1_FlexMap_IMapDevice_BeforeRenderLayer_C1_FlexMap_IMapLayer_" data-uid="C1.FlexMap.IMapDevice.BeforeRenderLayer(C1.FlexMap.IMapLayer)">
          <a class="xref" href="C1.FlexMap.IMapDevice.BeforeRenderLayer.html#C1_FlexMap_IMapDevice_BeforeRenderLayer_C1_FlexMap_IMapLayer_">BeforeRenderLayer(IMapLayer)</a>
        </td>
        <td class="markdown level1 summary"><p>Invoked before rendering a map layer.</p>
</td>
      </tr>
      <tr>
        <td id="C1_FlexMap_IMapDevice_BeforeRenderLegend_C1_FlexMap_MapLegend_" data-uid="C1.FlexMap.IMapDevice.BeforeRenderLegend(C1.FlexMap.MapLegend)">
          <a class="xref" href="C1.FlexMap.IMapDevice.BeforeRenderLegend.html#C1_FlexMap_IMapDevice_BeforeRenderLegend_C1_FlexMap_MapLegend_">BeforeRenderLegend(MapLegend)</a>
        </td>
        <td class="markdown level1 summary"><p>Invoked before rendering a map legend.</p>
</td>
      </tr>
      <tr>
        <td id="C1_FlexMap_IMapDevice_BeforeRenderMap_C1_FlexMap_C1FlexMap_" data-uid="C1.FlexMap.IMapDevice.BeforeRenderMap(C1.FlexMap.C1FlexMap)">
          <a class="xref" href="C1.FlexMap.IMapDevice.BeforeRenderMap.html#C1_FlexMap_IMapDevice_BeforeRenderMap_C1_FlexMap_C1FlexMap_">BeforeRenderMap(C1FlexMap)</a>
        </td>
        <td class="markdown level1 summary"><p>Invoked before rendering a map.</p>
</td>
      </tr>
      <tr>
        <td id="C1_FlexMap_IMapDevice_BeforeRenderVector_C1_FlexMap_VectorItem_" data-uid="C1.FlexMap.IMapDevice.BeforeRenderVector(C1.FlexMap.VectorItem)">
          <a class="xref" href="C1.FlexMap.IMapDevice.BeforeRenderVector.html#C1_FlexMap_IMapDevice_BeforeRenderVector_C1_FlexMap_VectorItem_">BeforeRenderVector(VectorItem)</a>
        </td>
        <td class="markdown level1 summary"><p>Invoked before rendering a vector item.</p>
</td>
      </tr>
      <tr>
        <td id="C1_FlexMap_IMapDevice_CanScaleOnZooming_C1_FlexMap_VectorLayer_" data-uid="C1.FlexMap.IMapDevice.CanScaleOnZooming(C1.FlexMap.VectorLayer)">
          <a class="xref" href="C1.FlexMap.IMapDevice.CanScaleOnZooming.html#C1_FlexMap_IMapDevice_CanScaleOnZooming_C1_FlexMap_VectorLayer_">CanScaleOnZooming(VectorLayer)</a>
        </td>
        <td class="markdown level1 summary"><p>Whether can scale the vector layer on zooming.</p>
</td>
      </tr>
      <tr>
        <td id="C1_FlexMap_IMapDevice_DrawString_System_String_C1_FlexMap_IMapStyle_C1_Win_Interop_Rect_" data-uid="C1.FlexMap.IMapDevice.DrawString(System.String,C1.FlexMap.IMapStyle,C1.Win.Interop.Rect)">
          <a class="xref" href="C1.FlexMap.IMapDevice.DrawString.html#C1_FlexMap_IMapDevice_DrawString_System_String_C1_FlexMap_IMapStyle_C1_Win_Interop_Rect_">DrawString(string, IMapStyle, Rect)</a>
        </td>
        <td class="markdown level1 summary"><p>Draws the string in the specified rectangle with specified style.</p>
</td>
      </tr>
      <tr>
        <td id="C1_FlexMap_IMapDevice_GetLegendMarkerSize_C1_FlexMap_MapLegendItem_" data-uid="C1.FlexMap.IMapDevice.GetLegendMarkerSize(C1.FlexMap.MapLegendItem)">
          <a class="xref" href="C1.FlexMap.IMapDevice.GetLegendMarkerSize.html#C1_FlexMap_IMapDevice_GetLegendMarkerSize_C1_FlexMap_MapLegendItem_">GetLegendMarkerSize(MapLegendItem)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the size of the marker of the legend item.</p>
</td>
      </tr>
      <tr>
        <td id="C1_FlexMap_IMapDevice_GetPlacemarkLabelSize_C1_FlexMap_VectorPlacemark_" data-uid="C1.FlexMap.IMapDevice.GetPlacemarkLabelSize(C1.FlexMap.VectorPlacemark)">
          <a class="xref" href="C1.FlexMap.IMapDevice.GetPlacemarkLabelSize.html#C1_FlexMap_IMapDevice_GetPlacemarkLabelSize_C1_FlexMap_VectorPlacemark_">GetPlacemarkLabelSize(VectorPlacemark)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the label size of the placemark element.</p>
</td>
      </tr>
      <tr>
        <td id="C1_FlexMap_IMapDevice_GetPlacemarkShapeBounds_C1_FlexMap_VectorPlacemark_C1_Win_Interop_Rect_" data-uid="C1.FlexMap.IMapDevice.GetPlacemarkShapeBounds(C1.FlexMap.VectorPlacemark,C1.Win.Interop.Rect)">
          <a class="xref" href="C1.FlexMap.IMapDevice.GetPlacemarkShapeBounds.html#C1_FlexMap_IMapDevice_GetPlacemarkShapeBounds_C1_FlexMap_VectorPlacemark_C1_Win_Interop_Rect_">GetPlacemarkShapeBounds(VectorPlacemark, Rect)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the bounds of marker shape of the placemark element.</p>
</td>
      </tr>
      <tr>
        <td id="C1_FlexMap_IMapDevice_GetPolylineWidth_C1_FlexMap_VectorPolyline_" data-uid="C1.FlexMap.IMapDevice.GetPolylineWidth(C1.FlexMap.VectorPolyline)">
          <a class="xref" href="C1.FlexMap.IMapDevice.GetPolylineWidth.html#C1_FlexMap_IMapDevice_GetPolylineWidth_C1_FlexMap_VectorPolyline_">GetPolylineWidth(VectorPolyline)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the width of the polyline.</p>
</td>
      </tr>
      <tr>
        <td id="C1_FlexMap_IMapDevice_HitTestPlacemark_C1_FlexMap_VectorPlacemark_C1_Win_Interop_Point_" data-uid="C1.FlexMap.IMapDevice.HitTestPlacemark(C1.FlexMap.VectorPlacemark,C1.Win.Interop.Point)">
          <a class="xref" href="C1.FlexMap.IMapDevice.HitTestPlacemark.html#C1_FlexMap_IMapDevice_HitTestPlacemark_C1_FlexMap_VectorPlacemark_C1_Win_Interop_Point_">HitTestPlacemark(VectorPlacemark, Point)</a>
        </td>
        <td class="markdown level1 summary"><p>Tests whether a point is hit on the placemark.</p>
</td>
      </tr>
      <tr>
        <td id="C1_FlexMap_IMapDevice_MeasureString_System_String_System_Double_C1_FlexMap_IMapStyle_" data-uid="C1.FlexMap.IMapDevice.MeasureString(System.String,System.Double,C1.FlexMap.IMapStyle)">
          <a class="xref" href="C1.FlexMap.IMapDevice.MeasureString.html#C1_FlexMap_IMapDevice_MeasureString_System_String_System_Double_C1_FlexMap_IMapStyle_">MeasureString(string, double, IMapStyle)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the size of the string.</p>
</td>
      </tr>
      <tr>
        <td id="C1_FlexMap_IMapDevice_RemoveLabels_C1_FlexMap_VectorLayer_" data-uid="C1.FlexMap.IMapDevice.RemoveLabels(C1.FlexMap.VectorLayer)">
          <a class="xref" href="C1.FlexMap.IMapDevice.RemoveLabels.html#C1_FlexMap_IMapDevice_RemoveLabels_C1_FlexMap_VectorLayer_">RemoveLabels(VectorLayer)</a>
        </td>
        <td class="markdown level1 summary"><p>Remove the labels from the layer.</p>
</td>
      </tr>
      <tr>
        <td id="C1_FlexMap_IMapDevice_RenderLegendMarker_C1_FlexMap_MapLegendItem_C1_Win_Interop_Rect_" data-uid="C1.FlexMap.IMapDevice.RenderLegendMarker(C1.FlexMap.MapLegendItem,C1.Win.Interop.Rect)">
          <a class="xref" href="C1.FlexMap.IMapDevice.RenderLegendMarker.html#C1_FlexMap_IMapDevice_RenderLegendMarker_C1_FlexMap_MapLegendItem_C1_Win_Interop_Rect_">RenderLegendMarker(MapLegendItem, Rect)</a>
        </td>
        <td class="markdown level1 summary"><p>Renders the marker of the legend item.</p>
</td>
      </tr>
      <tr>
        <td id="C1_FlexMap_IMapDevice_RenderPlacemarkLabel_C1_FlexMap_VectorPlacemark_System_Int32_" data-uid="C1.FlexMap.IMapDevice.RenderPlacemarkLabel(C1.FlexMap.VectorPlacemark,System.Int32)">
          <a class="xref" href="C1.FlexMap.IMapDevice.RenderPlacemarkLabel.html#C1_FlexMap_IMapDevice_RenderPlacemarkLabel_C1_FlexMap_VectorPlacemark_System_Int32_">RenderPlacemarkLabel(VectorPlacemark, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Renders the label of the placemark element.</p>
</td>
      </tr>
      <tr>
        <td id="C1_FlexMap_IMapDevice_RenderPlacemarkMarker_C1_FlexMap_VectorPlacemark_System_Int32_" data-uid="C1.FlexMap.IMapDevice.RenderPlacemarkMarker(C1.FlexMap.VectorPlacemark,System.Int32)">
          <a class="xref" href="C1.FlexMap.IMapDevice.RenderPlacemarkMarker.html#C1_FlexMap_IMapDevice_RenderPlacemarkMarker_C1_FlexMap_VectorPlacemark_System_Int32_">RenderPlacemarkMarker(VectorPlacemark, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Renders the marker of the placemark element.</p>
</td>
      </tr>
      <tr>
        <td id="C1_FlexMap_IMapDevice_RenderPolygon_C1_FlexMap_VectorPolygon_" data-uid="C1.FlexMap.IMapDevice.RenderPolygon(C1.FlexMap.VectorPolygon)">
          <a class="xref" href="C1.FlexMap.IMapDevice.RenderPolygon.html#C1_FlexMap_IMapDevice_RenderPolygon_C1_FlexMap_VectorPolygon_">RenderPolygon(VectorPolygon)</a>
        </td>
        <td class="markdown level1 summary"><p>Renders the polygon element.</p>
</td>
      </tr>
      <tr>
        <td id="C1_FlexMap_IMapDevice_RenderPolyline_C1_FlexMap_VectorPolyline_" data-uid="C1.FlexMap.IMapDevice.RenderPolyline(C1.FlexMap.VectorPolyline)">
          <a class="xref" href="C1.FlexMap.IMapDevice.RenderPolyline.html#C1_FlexMap_IMapDevice_RenderPolyline_C1_FlexMap_VectorPolyline_">RenderPolyline(VectorPolyline)</a>
        </td>
        <td class="markdown level1 summary"><p>Renders the polyline element.</p>
</td>
      </tr>
      <tr>
        <td id="C1_FlexMap_IMapDevice_RenderTiles_System_Collections_Generic_IList_C1_FlexMap_TileItem__" data-uid="C1.FlexMap.IMapDevice.RenderTiles(System.Collections.Generic.IList{C1.FlexMap.TileItem})">
          <a class="xref" href="C1.FlexMap.IMapDevice.RenderTiles.html#C1_FlexMap_IMapDevice_RenderTiles_System_Collections_Generic_IList_C1_FlexMap_TileItem__">RenderTiles(IList&lt;TileItem&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Renders the tile items.</p>
</td>
      </tr>
      <tr>
        <td id="C1_FlexMap_IMapDevice_ResetLayer_C1_FlexMap_IMapLayer_" data-uid="C1.FlexMap.IMapDevice.ResetLayer(C1.FlexMap.IMapLayer)">
          <a class="xref" href="C1.FlexMap.IMapDevice.ResetLayer.html#C1_FlexMap_IMapDevice_ResetLayer_C1_FlexMap_IMapLayer_">ResetLayer(IMapLayer)</a>
        </td>
        <td class="markdown level1 summary"><p>Invoked when the layer status is reset.</p>
</td>
      </tr>
      <tr>
        <td id="C1_FlexMap_IMapDevice_ResetMap_C1_FlexMap_C1FlexMap_" data-uid="C1.FlexMap.IMapDevice.ResetMap(C1.FlexMap.C1FlexMap)">
          <a class="xref" href="C1.FlexMap.IMapDevice.ResetMap.html#C1_FlexMap_IMapDevice_ResetMap_C1_FlexMap_C1FlexMap_">ResetMap(C1FlexMap)</a>
        </td>
        <td class="markdown level1 summary"><p>Invoked when the map status is reset.</p>
</td>
      </tr>
      <tr>
        <td id="C1_FlexMap_IMapDevice_SetLayerTransformation_C1_FlexMap_IMapLayer_System_Double_System_Double_System_Double_System_Double_" data-uid="C1.FlexMap.IMapDevice.SetLayerTransformation(C1.FlexMap.IMapLayer,System.Double,System.Double,System.Double,System.Double)">
          <a class="xref" href="C1.FlexMap.IMapDevice.SetLayerTransformation.html#C1_FlexMap_IMapDevice_SetLayerTransformation_C1_FlexMap_IMapLayer_System_Double_System_Double_System_Double_System_Double_">SetLayerTransformation(IMapLayer, double, double, double, double)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the transformation of the map layer.</p>
</td>
      </tr>
      <tr>
        <td id="C1_FlexMap_IMapDevice_SetLayerVisible_C1_FlexMap_IMapLayer_System_Boolean_" data-uid="C1.FlexMap.IMapDevice.SetLayerVisible(C1.FlexMap.IMapLayer,System.Boolean)">
          <a class="xref" href="C1.FlexMap.IMapDevice.SetLayerVisible.html#C1_FlexMap_IMapDevice_SetLayerVisible_C1_FlexMap_IMapLayer_System_Boolean_">SetLayerVisible(IMapLayer, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the visibility of the map layer.</p>
</td>
      </tr>
      <tr>
        <td id="C1_FlexMap_IMapDevice_SetLimitClip_C1_Win_Interop_Rect_" data-uid="C1.FlexMap.IMapDevice.SetLimitClip(C1.Win.Interop.Rect)">
          <a class="xref" href="C1.FlexMap.IMapDevice.SetLimitClip.html#C1_FlexMap_IMapDevice_SetLimitClip_C1_Win_Interop_Rect_">SetLimitClip(Rect)</a>
        </td>
        <td class="markdown level1 summary"><p>Set the clip when the limitation bounds is set.</p>
</td>
      </tr>
      <tr>
        <td id="C1_FlexMap_IMapDevice_SetLimitClip_System_Collections_Generic_IEnumerable_C1_Win_Interop_Point__" data-uid="C1.FlexMap.IMapDevice.SetLimitClip(System.Collections.Generic.IEnumerable{C1.Win.Interop.Point})">
          <a class="xref" href="C1.FlexMap.IMapDevice.SetLimitClip.html#C1_FlexMap_IMapDevice_SetLimitClip_System_Collections_Generic_IEnumerable_C1_Win_Interop_Point__">SetLimitClip(IEnumerable&lt;Point&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Set the clip when the limitation bounds is set.</p>
</td>
      </tr>
      <tr>
        <td id="C1_FlexMap_IMapDevice_ShouldRemoveLabelsOnZooming_C1_FlexMap_VectorLayer_" data-uid="C1.FlexMap.IMapDevice.ShouldRemoveLabelsOnZooming(C1.FlexMap.VectorLayer)">
          <a class="xref" href="C1.FlexMap.IMapDevice.ShouldRemoveLabelsOnZooming.html#C1_FlexMap_IMapDevice_ShouldRemoveLabelsOnZooming_C1_FlexMap_VectorLayer_">ShouldRemoveLabelsOnZooming(VectorLayer)</a>
        </td>
        <td class="markdown level1 summary"><p>Whether should remove the vector layer labels on zooming.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
