Visual Basic (Declaration) | |
---|---|
Public Sub DensifyAsync( _ ByVal graphics As IList(Of Graphic), _ ByVal parameters As DensifyParameters, _ Optional ByVal userToken As Object _ ) |
C# | |
---|---|
public void DensifyAsync( IList<Graphic> graphics, DensifyParameters parameters, object userToken ) |
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.
- userToken
- The user token.
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