getLayer

Get a layer handle.
getLayer([in] int idx, [out, retval] LONG *layerHandle)
This function returns an opaque handle for the specified layer. The handle can then be passed to the other layer functions.

Layers are numbered 0 through n-1 (where n is the value returned by getNumLayers).

VB6:
layer = pdf.getLayer(i)
getNumLayers
getLayerName
getLayerVisibility
setLayerVisibility
getLayerViewState
getLayerPrintState