[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Operators.OperatorList.Enumerate

Enumerate Method

Enumerate(IList<OperatorBase>, Func<PdfOperatorPosition, OperatorBase, bool>)

Enumerates the list of operators, calls the callbackMethod method for each operator.

Declaration
public static bool Enumerate(IList<OperatorBase> operators, Func<PdfOperatorPosition, OperatorBase, bool> callbackMethod)
Public Shared Function Enumerate(operators As IList(Of OperatorBase), callbackMethod As Func(Of PdfOperatorPosition, OperatorBase, Boolean)) As Boolean
Parameters
Type Name Description
IList<OperatorBase> operators

The list of operators to enumerate.

Func<PdfOperatorPosition, OperatorBase, bool> callbackMethod

The callback method.

Returns
Type Description
bool

true if all operators were enumerated; false if callback method returns false for some operator.