GetEnumeratedPageElementID

Content stream editing

Description

Returns the opaque mutation handle for one result from the most recent EnumeratePageElements call. The handle is valid only on the same library instance until the next enumeration or successful element mutation

Syntax

Delphi

Function TPDFlib.GetEnumeratedPageElementID(Index: Integer): Integer;

ActiveX

Function PDFlib::GetEnumeratedPageElementID(Index As Long) As Long

DLL

int DLGetEnumeratedPageElementID(int InstanceID, int Index);

Parameters

IndexOne-based index into the results of the most recent EnumeratePageElements call

Return values

A positive element ID, or 0 when Index is outside the one-based result list