<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!-- saved from url=(0014)about:internet --><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><link rel="stylesheet" href="..\..\..\..\style.css" type="text/css" media="screen"><link rel="stylesheet" href="..\..\..\..\print.css" type="text/css" media="print"><link rel="stylesheet" href="..\..\..\..\override.css" type="text/css"><meta name="keywords" content="GeometryService,com.esri.ags.tasks.GeometryService,UNIT_ACRES,UNIT_ARES,UNIT_FOOT,UNIT_HECTARES,UNIT_KILOMETER,UNIT_METER,UNIT_NAUTICAL_MILE,UNIT_SQUARE_CENTIMETERS,UNIT_SQUARE_DECIMETERS,UNIT_SQUARE_FEET,UNIT_SQUARE_INCHES,UNIT_SQUARE_KILOMETERS,UNIT_SQUARE_METERS,UNIT_SQUARE_MILES,UNIT_SQUARE_MILLIMETERS,UNIT_SQUARE_YARDS,UNIT_STATUTE_MILE,UNIT_US_NAUTICAL_MILE,addressToLocationsLastResult,areasAndLengthsLastResult,autoCompleteLastResult,bufferLastResult,concurrency,convexHullLastResult,cutLastResult,densifyLastResult,differenceLastResult,disableClientCaching,distanceLastResult,executeForIdsLastResult,executeLastResult,executeLastResult,executeLastResult,executeLastResult,executeLastResult,executeLastResultFirstFeatureSet,executeRelationshipQueryLastResult,generalizeLastResult,getAllDetailsLastResult,getInputLastResult,getLayerDetailsLastResult,getResultDataLastResult,getResultImageLastResult,getTableDetailsLastResult,intersectLastResult,labelPointsLastResult,lengthsLastResult,locationToAddressLastResult,method,offsetLastResult,outSpatialReference,outSpatialReference,processSpatialReference,projectLastResult,proxyURL,relationLastResult,requestTimeout,reshapeLastResult,showBusyCursor,simplifyLastResult,solveLastResult,solveLastResult,solveLastResult,submitJobLastResult,token,trimExtendLastResult,unionLastResult,updateDelay,url,useAMF,useAMF,addressToLocations,areasAndLengths,autoComplete,buffer,cancelJobStatusUpdates,checkJobStatus,convexHull,cut,densify,difference,distance,execute,execute,execute,execute,execute,executeForIds,executeRelationshipQuery,generalize,getAllDetails,getDetails,getInput,getResultData,getResultImage,getResultImageLayer,intersect,labelPoints,lengths,locationToAddress,offset,project,relation,reshape,sendURLVariables,simplify,solve,solve,solve,submitJob,trimExtend,union"><meta name="product" content="ArcGIS Server 10.0;ArcGIS Server for the Microsoft .NET Framework 10.0;ArcGIS Server for the Java Platform 10.0;ArcGIS Web API"><meta name="devlanguage" content="Flex (MXML/ActionScript)"><meta name="devAPI" content="Flex"><meta name="taxonomy" content="Resource Center/ArcGIS Server/Documentation/API Reference"><title>com.esri.ags.tasks.GeometryService</title></head><body><script language="javascript" type="text/javascript" src="..\..\..\..\asdoc.js"></script><script language="javascript" type="text/javascript" src="..\..\..\..\help.js"></script><script language="javascript" type="text/javascript" src="..\..\..\..\cookies.js"></script><script language="javascript" type="text/javascript"><!--
asdocTitle = 'GeometryService - ArcGIS API for Flex 2.1';
var baseRef = '../../../../';
window.onload = configPage;
--></script>
<script type="text/javascript">
scrollToNameAnchor();
</script><table class="titleTable" cellpadding="0" cellspacing="0" id="titleTable" style="display:none"><tr><td class="titleTableTitle" align="left">ArcGIS API for Flex 2.1</td><td class="titleTableTopNav" align="right"><a href="..\..\..\..\package-summary.html" onclick="loadClassListFrame('..\\..\\..\\..\\all-classes.html')">All Packages</a> | <a href="..\..\..\..\class-summary.html" onclick="loadClassListFrame('..\\..\\..\\..\\all-classes.html')">All Classes</a> | <a href="..\..\..\..\all-index-A.html" onclick="loadClassListFrame('..\\..\\..\\..\\index-list.html')">Index</a> | <a id="framesLink1" href="..\..\..\..\MS_88.html">Frames</a><a id="noFramesLink1" style="display:none" href="index.html" onclick="parent.location=document.location"> No Frames </a></td><td class="titleTableLogo" align="right" rowspan="3"><img src="..\..\..\..\images\esri_emblem.png" class="logoImage" alt=" Adobe Logo " title=" Adobe Logo "></td></tr><tr class="titleTableRow2"><td class="titleTableSubTitle" id="subTitle" align="left">GeometryService</td><td class="titleTableSubNav" id="subNav" align="right"><a href="#propertySummary">Properties</a> | <a href="#methodSummary">Methods</a> | <a href="#eventSummary">Events</a> | <a href="#constantSummary">Constants</a></td></tr><tr class="titleTableRow3"><td colspan="3"> </td></tr></table><script language="javascript" type="text/javascript" xml:space="preserve">
<!--
if (!isEclipse() || window.name != ECLIPSE_FRAME_NAME) {titleBar_setSubTitle("GeometryService"); titleBar_setSubNav(true,true,false,false,false,false,true,false,true,false,false ,false,false,false,false,false);}
-->
</script><div xmlns:fn="http://www.w3.org/2005/xpath-functions" class="MainContent"><table class="classHeaderTable" cellpadding="0" cellspacing="0"><tr><td class="classHeaderTableLabel">Package</td><td><a href="package-detail.html" onclick="javascript:loadClassListFrame('class-list.html')">com.esri.ags.tasks</a></td></tr><tr><td class="classHeaderTableLabel">Class</td><td class="classSignature">public class GeometryService</td></tr><tr><td class="classHeaderTableLabel">Inheritance</td><td class="inheritanceList">GeometryService <img src="..\..\..\..\images\inherit-arrow.gif" title="Inheritance" alt="Inheritance" class="inheritArrow"> <a href="BaseTask.html">BaseTask</a> <img src="..\..\..\..\images\inherit-arrow.gif" title="Inheritance" alt="Inheritance" class="inheritArrow"> flash.events.EventDispatcher</td></tr></table><p></p><p></p><p></p>
Represents a geometry task resource exposed by the ArcGIS Server REST API (available in ArcGIS Server 9.3 and above).
This resource provides the service description associated with a geometry service
and is primarily a processing and algorithmic resource that supports operations
related to geometries.
<p>Set the url to the ArcGIS Server REST resource that represents a GeometryService, e.g.
<a href="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Geometry/GeometryServer" target="external">http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Geometry/GeometryServer</a>.
For more information on constructing a URL, see <a href="http://help.arcgis.com/en/webapi/flex/help/Content/arcgis_server/arcgis_services_directory.htm" target="external">Using the ArcGIS Services Directory</a>.</p>
<p></p><p><span class="classHeaderTableLabel">See also</span></p><div class="seeAlso"><a href="..\events\GeometryServiceEvent.html" target="">com.esri.ags.events.GeometryServiceEvent</a><br/><a href="http://help.arcgis.com/en/webapi/flex/samples/index.html?sample=BufferSample" target="mm_external">Live Sample - using a listener for GeometryServiceEvent.BUFFER_COMPLETE.</a><br/><a href="http://help.arcgis.com/en/webapi/flex/samples/index.html?sample=GP_PopulationSummary" target="mm_external">Live Sample - using a listener for GeometryServiceEvent.BUFFER_COMPLETE.</a><br/><a href="http://help.arcgis.com/en/webapi/flex/samples/index.html?sample=MeasureArea" target="mm_external">Live Sample - using arealengthsComplete and simplifyComplete with a GeometryService.</a><br/><a href="http://help.arcgis.com/en/webapi/flex/samples/index.html?sample=LabelPoints" target="mm_external">Live Sample - using labelPointsComplete and simplifyComplete with a GeometryService.</a><br/><a href="http://help.arcgis.com/en/webapi/flex/samples/index.html?sample=MeasureLine" target="mm_external">Live Sample - using lengthsComplete and projectComplete with a GeometryService.</a><br/><a href="http://help.arcgis.com/en/webapi/flex/samples/index.html?sa