
The AnalysisExtent parameter specifies the market area to thematically shade locations in, the SegmentationBase parameter specifies the base for assignment segments to geography sites, the SegmentationLevel parameter specifies the ID of a segmentation level, and the SelectedSegments parameter specifies the list of IDs of Tapestry segments of your interest.
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 StandardReportOptions 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, StandardReportOptions, and OutputAnalysisItem parameters are missing, the feature class output is requested.
| C# | Copy Code |
|---|---|
TargetPenetrationMapParameters parameters= new TargetPenetrationMapParameters(); // Set a data extent for analysis to ExtendData object specified with myExtent. parameters.AnalysisExtent = myExtent; // Set a segmentation base. parameters.SegmentationBase = "Total Households"; // Set a segmentation level ID. parameters.SegmentationLevel = "US.ZIP5"; // Set selected Tapestry segments. parameters.SelectedSegments = new List<string>(){"8", "30"}; // Set report parameters. parameters.StandardReportOptions = new ReportOptions("PDF"); targetPenetrationMapTask.ExecuteAsync(parameters, new AsyncResponder(resultHandler, faultHandler)); | |
System.Object
ESRI.ArcGIS.Client.BACore.Client.BATaskParameters
ESRI.ArcGIS.Client.BACore.Client.StandardReportParameters
ESRI.ArcGIS.Client.BAServer.Tasks.AnalysisAndReportParameters
ESRI.ArcGIS.Client.BAServer.Tasks.Segmentation.TargetPenetrationMapParameters
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