
The analysis can be restricted to an analysis extent if the AnalysisExtent
parameter is specified. Optional SingleStoreID
parameter restricts the analysis to a single store of the store layer.
Output options for this task include rendering an output image (OutputTypes.GetMapImage), creating a feature class for subsequent analysis (OutputTypes.GetFeatureClass), and/or creating a report (OutputTypes.GetReport). If no output options are specified, the required output options are specified as follows. If the RenderingParameters
parameter is specified, the image output is requested. If the ReportOptions
parameter is specified, the report is requested. If the OutputAnalysisItem
parameter is specified, the output analysis feature class will be stored in the repository. If RenderingParameters
, ReportOptions
, and OutputAnalysisItem
parameters are missing, the feature class output is requested.
C# | ![]() |
---|---|
SimpleRingsParameters parameters = new SimpleRingsParameters(); // The PointLayer type could take either data as // ESRI.ArcGIS.Client.Tasks.FeatureSet, ESRI.ArcGIS.Client.BAServer.FolderItem, // or a list of ESRI.ArcGIS.Client.BACore.PointRecord items, e.g. //List<PointRecord> points = new List<PointRecord>() { // new PointRecord("Store 1", "Steiner St. & Geary Blvd", "1", 37.78415, -122.4346)}; // Set Stores as a list of PointRecord using implicit cast operator. parameters.Stores = points; // The StoreIDField parameter is ignored if stores are specified as a list of PointRecord. //parameters.StoreIDField = "STORE_ID"; // Optionally restrict analysis to ExtendData object specified with myExtent. //parameters.AnalysisExtent = myExtent; // Set rings radii. parameters.Radii = new List<double>(){ 1, 3, 5 }; // esriUnits.esriMiles is the default value for DistanceUnits. //parameters.DistanceUnits = esriUnits.esriMiles; // false is the default value for Donut. //parameters.Donut = false; // Set report options. ReportOptions options = new ReportOptions("PDF", "Age by Income Profile"); options.Header = new ReportHeader("1-3-5 mile Ring Study Areas"); parameters.ReportOptions = new List<ReportOptions>(){ options }; simpleRingsTask.ExecuteAsync(parameters, new AsyncResponder(resultHandler, faultHandler)); |
System.Object
ESRI.ArcGIS.Client.BACore.Client.BATaskParameters
ESRI.ArcGIS.Client.BACore.Client.SummaryReportParameters
ESRI.ArcGIS.Client.BAServer.Tasks.TradeAreas.TradeAreaTaskParameters
ESRI.ArcGIS.Client.BAServer.Tasks.TradeAreas.SimpleRingsParameters
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family