ArcGIS Runtime SDK for WPF - Library Reference
DensifyTaskAsync(IList<Graphic>,DensifyParameters) Method
See Also 
ESRI.ArcGIS.Client.Tasks Namespace > GeometryService Class > DensifyTaskAsync Method : DensifyTaskAsync(IList<Graphic>,DensifyParameters) Method

graphics
The collection of Geometry to be densified. All geometries are assumed to be in the coordinate system SpatialReference.
parameters
Parameters contains additional properties that defines how the densify task will be preformed.
This operation densifies geometries by plotting points between existing vertices.

Syntax

Visual Basic (Declaration) 
Public Overloads Function DensifyTaskAsync( _
   ByVal graphics As IList(Of Graphic), _
   ByVal parameters As DensifyParameters _
) As Task(Of DensifyResult)
C# 
public Task<DensifyResult> DensifyTaskAsync( 
   IList<Graphic> graphics,
   DensifyParameters parameters
)

Parameters

graphics
The collection of Geometry to be densified. All geometries are assumed to be in the coordinate system SpatialReference.
parameters
Parameters contains additional properties that defines how the densify task will be preformed.

Example

A polyline with two points that span 100 meters between them can be densified to have a point ever 10 meters by indicating a maxSegmentLength of 10 and lengthUnit of meters. The Same polyline would be returned but with 10 points instead of 2 points.

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8

See Also

© ESRI, Inc. All Rights Reserved.