ArcGIS Runtime SDK for WPF - Library Reference
OffsetAsync Method
See Also 
ESRI.ArcGIS.Client.Tasks Namespace > GeometryService Class : OffsetAsync 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.
userToken
The user token.
Constructs offset copies of the input polylines or polygons.

Syntax

Visual Basic (Declaration) 
Public Sub OffsetAsync( _
   ByVal graphics As IList(Of Graphic), _
   ByVal parameters As OffsetParameters, _
   Optional ByVal userToken As Object _
) 
C# 
public void OffsetAsync( 
   IList<Graphic> graphics,
   OffsetParameters parameters,
   object userToken
)

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.
userToken
The user 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.