DK for ActiveX | TatukGIS_XDK11.ITGIS_ArcGISFeatureServerLayer.GetObjects | Methods | Properties
Gets a page of layer objects.
// C# public _stream GetObjects( int _resultOffset, int _resultCount, ITGIS_Extent _filterRect, WideString _format );
' VisualBasic Public Function GetObjects( ByVal _resultOffset As Integer, ByVal _resultCount As Integer, ByVal _filterRect As ITGIS_Extent, ByVal _format As WideString ) As _stream
// Oxygene public function GetObjects( _resultOffset : Integer; _resultCount : Integer; _filterRect : ITGIS_Extent; _format : WideString ) : _stream;
| Name | Type | Description |
|---|---|---|
| _resultOffset | int Integer | Zero-based offset of the first record to retrieve. |
| _resultCount | int Integer | Maximum number of records to retrieve. |
| _filterRect | ITGIS_Extent | Optional extent rectangle used to limit returned objects. |
| _format | WideString | Requested response data format. |
| Type | Description |
|---|---|
| _stream | Stream containing the retrieved object data. |
PURPOSE: Requests one page of feature data from the layer.
BEHAVIOR: The request starts at_resultOffset and returns at most_resultCount records. An optional extent filter can be applied, and the response format is controlled by_format. The server response is returned as a stream.
USAGE: Use this overload for paged downloads from large layers.
data = layer.GetObjects(0, 100, filterRect, "json")