RecordHandleToID(), RH2ID()
Summary
Converts a record handle to a map feature ID.
Syntax
id = RecordHandleToID(string record_handle)
id = RH2ID(string record_handle)
| Argument | Contents |
|---|---|
| record_handle | A record handle for a map feature |
Returns
An integer ID for the map feature in the current layer with the specified record handle.
Notes
-
Can also be called as RH2ID().
-
The GetPoint(), GetLine(), and GetArea() functions require IDs. IDs are not used by other GISDK functions.
-
RecordHandleToID() can be used to obtain the value of the ID field of a record. Used this way, it is much more efficient than GetRecordValues().
See Also
| Function | Summary |
|---|---|
| IDToRecordHandle() | Converts a map feature ID to a record handle |
| GetRecordValues() | Reads the values of a record in a view |