Visual Basic (Declaration) | |
---|---|
Public Overloads Function OffsetTaskAsync( _ ByVal graphics As IList(Of Graphic), _ ByVal parameters As OffsetParameters, _ ByVal cancellationToken As CancellationToken _ ) As Task(Of OffsetResult) |
C# | |
---|---|
public Task<OffsetResult> OffsetTaskAsync( IList<Graphic> graphics, OffsetParameters parameters, CancellationToken cancellationToken ) |
Parameters
- graphics
- A collection of polylines or polygons. Input types can be mixed. All geometries are assumed to be in the coordinate system defined by the input SpatialReference.
- parameters
- Parameters contains additional properties that defines how the offset task will be preformed.
- cancellationToken
- The cancellation token.
Return Value
Returns a graphic collection of the offset geometries that were processed.Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8