Hoppa till huvudinnehållet

Convert Geometry to Graphic

Kommentarer

2 kommentarer

  • Permanently deleted user
    Maybe this?

     

    RunExternalCommand

     

    Command Name: "AddMarkup"

     

    Command Parameter: myESRIpolygon ( mine is ESRI.ArcGIS.Client.Geometry.Polygon() )

     

     

    phil.
    0
  • Permanently deleted user
    It depends on where you want to achieve it.

     

    If it is on Workflow implementation, check http://help.arcgis.com/en/webapi/wpf/apiref/api_start.htm - ESRI.ArcGIS.Client --- Classes - Graphic

     

    - declare a variable aGraphic whose type is Esri.ArcGIS.Client.Graphic

     

    - Set aGraphic = New Graphic using Assign activity

     

    - Set aGraphic.Geometry = [your Geometry object] using Assign activity

     

    If it is on GVH (Html5 viewer) custom module, check ESRI javascript API (https://developers.arcgis.com/javascript/latest/api-reference/esri-Graphic.html)

     

    MG

     

     
    0

Du måste logga in om du vill lämna en kommentar.