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

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.
Constructs offset copies of the input polylines or polygons.

Syntax

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)

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.

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.