Skip to main content
All docs
V26.1
  • FragmentCollection.FindAll(Predicate<PageFragment>, out Dictionary<PageFragment, FragmentCollection>) Method

    Finds all content fragments that match the specified condition and maps each fragment to its collection.

    Namespace: DevExpress.Docs.Pdf

    Assembly: DevExpress.Docs.Pdf.v26.1.dll

    Declaration

    public List<PageFragment> FindAll(
        Predicate<PageFragment> func,
        out Dictionary<PageFragment, FragmentCollection> fragmentToCollectionMapping
    )

    Parameters

    Name Type Description
    func Predicate<PageFragment>

    A delegate that defines the conditions of the content fragments to search for.

    fragmentToCollectionMapping Dictionary<PageFragment, FragmentCollection>

    A dictionary that maps each found content fragment to its collection.

    Returns

    Type Description
    List<PageFragment>

    A list of content fragments that match the specified condition, or an empty list if no such content fragments are found.

    See Also