activePDF Toolkit 2011 API Reference
Val_GetNextElem
Technical Reference > Explorer Object > Methods > Val_GetNextElem

Glossary Item Box

Description: Returns an encoded value representing the next element of an object attributes value known to be an object Array based on the first or previous element.
Syntax: retValue = object.Val_GetNextElem (AttrVariant)
Arguments: Argument Value Type Description & Settings
object N/A Set to an instance of the Explorer object.
AttrVariant Integer An encoded value representing the input object's attributes as returned by the Val_GetFirstElem method.

retValue: Value Type Description & Settings
Integer An encoded value representing the next array element based on the first or previous element that is suitable for passing as the AttrVariant for the following methods: The method returns a 0 (zero) if the AttrVariant does not represent an object Array.

NOTE: The required AttrVariant changes based on its location in the object parsing cycle started from the GetRootObject call.