getLayerVisibility

Get the visibility state of a layer.
getLayerVisibility([in] LONG layerHandle, [out, retval] VARIANT_BOOL *visibility)
This function returns the current visibility state of a layer - true if the layer is visible, false if it is not visible.

The layer argument is an opaque layer handle, returned by getLayer.

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