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.
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.
Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8