ArcGIS Runtime SDK for WPF - Library Reference
GetSamplesTaskAsync Method
See Also 
ESRI.ArcGIS.Client.Tasks Namespace > GetSamplesTask Class : GetSamplesTaskAsync Method

Task that gets samples from an image server. The result of this operation includes sample point locations, pixel values and corresponding spatial resolutions of the source data for a given geometry. When the input geometry is a polyline, envelope, or polygon, sampling is based on sampleCount or sampleDistance; when the input geometry is a point or mulpoint, the point(s) are used directly. The number of sample locations derived from SampleDistance or SampleCount parameters may not exceed the limit of the image service (default is 1000).

Overload List

OverloadDescription
GetSamplesTaskAsync(Geometry,GetSamplesParameters)Task that gets samples from an image server. The result of this operation includes sample point locations, pixel values and corresponding spatial resolutions of the source data for a given geometry. When the input geometry is a polyline, envelope, or polygon, sampling is based on sampleCount or sampleDistance; when the input geometry is a point or mulpoint, the point(s) are used directly. The number of sample locations derived from SampleDistance or SampleCount parameters may not exceed the limit of the image service (default is 1000).  
GetSamplesTaskAsync(Geometry,GetSamplesParameters,CancellationToken)Task that gets samples from an image server. The result of this operation includes sample point locations, pixel values and corresponding spatial resolutions of the source data for a given geometry. When the input geometry is a polyline, envelope, or polygon, sampling is based on sampleCount or sampleDistance; when the input geometry is a point or mulpoint, the point(s) are used directly. The number of sample locations derived from SampleDistance or SampleCount parameters may not exceed the limit of the image service (default is 1000).  

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.