Document Solutions for PDF
GrapeCity.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.Operators Namespace / OperatorList Class / Enumerate Method
The list of operators to enumerate.
The callback method.

In This Topic
    Enumerate Method
    In This Topic
    Enumerates the list of operators, calls the callbackMethod method for each operator.
    Syntax
    'Declaration
     
    Public Shared Function Enumerate( _
       ByVal operators As System.Collections.Generic.IList(Of OperatorBase), _
       ByVal callbackMethod As System.Func(Of PdfOperatorPosition,OperatorBase,Boolean) _
    ) As System.Boolean
    public static System.bool Enumerate( 
       System.Collections.Generic.IList<OperatorBase> operators,
       System.Func<PdfOperatorPosition,OperatorBase,bool> callbackMethod
    )

    Parameters

    operators
    The list of operators to enumerate.
    callbackMethod
    The callback method.

    Return Value

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