Gets the first element in an enumeration sequence of elements for the specific layer.
Visual Basic |
---|
Public Function PrgGetFirstItem( _ ByVal layerHandle As Long _ ) As Long |
- layerHandle
- The handle of a layer returned by the CreateLayer method.
The sequence number of the first element. If there are no items, this method returns 0.
To retrieve the remaining elements after calling this method, call PrgGetNextItem.
The enumeration sequence returns elements in Z-order, starting at the bottom.