Skip to content

# PDFTextRunCollection

Namespace: O2S.Components.PDF4NET.Content

Defines a collection of text fragments on the PDF page.

    public class PDFTextRunCollection : System.Collections.ObjectModel.ReadOnlyCollection`1[[O2S.Components.PDF4NET.Content.PDFTextRun, O2S.Components.PDF4NET.NetStandard, Version=16.3.0.1, Culture=neutral, PublicKeyToken=80d03dd9e5b85317]]

Inheritance Object → ReadOnlyCollection<PDFTextRun> → PDFTextRunCollection
Implements

## Constructors

### PDFTextRunCollection(IList<PDFTextRun>)

Initializes a new PDFTextRunCollection object.

    public PDFTextRunCollection(IList<PDFTextRun> fragments)

Parameters

`fragments` IList<PDFTextRun>

## Properties

### Count

    public int Count { get; }

Property Value

Int32

### Item

    public PDFTextRun Item { get; }

Property Value

PDFTextRun