
Visual Basic (Declaration)
C#
Output options for this task include creating a report (OutputTypes.GetReport). You need not specify
the output options for this task because the GetReport output type is set by default.
The code snippet below creates TapestryProfileReportParameters and then executes a
Tapestry Profile Report task.
| C# | Copy Code |
|---|---|
TapestryProfileReportParameters parameters = newTapestryProfileReportParametersGamePlanChartParameters();
// The ProfileData type could take either data as an XML string
// or as ESRI.ArcGIS.Client.BAServer.FolderItem type, e.g.
//FolderItem baseProfile = new FolderItem(workspaceName, projectName, FolderType.esriFolderSegProfiles, profileName);
// Set a base segmentation profile as a FolderItem using implicit cast operator.
parameters.BaseProfile = baseProfile;
// Set a target segmentation profile.
parameters.TargetProfile = targetProfile;
// Set report parameters.
parameters.StandardReportOptions = new ReportOptions("PDF");
tapestryProfileReportTask.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.StandardReportParameters
ESRI.ArcGIS.Client.BAServer.Tasks.Segmentation.TapestryProfileReportParameters
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