Class
InlineCollection

Manages inline elements within a paragraph, providing strongly-typed add methods for text runs, images, and floating content.

Definition

Namespace:Telerik.Windows.Documents.Flow.Model.Collections

Assembly:Telerik.Windows.Documents.Flow.dll

Syntax:

cs-api-definition
public sealed class InlineCollection : DocumentElementCollection<InlineBase, Paragraph>, IList<InlineBase>, ICollection<InlineBase>, IEnumerable<InlineBase>, IEnumerable

Inheritance: objectDocumentElementCollectionBase<InlineBase, Paragraph>DocumentElementCollection<InlineBase, Paragraph>InlineCollection

Implements: ICollection<InlineBase>IEnumerableIEnumerable<InlineBase>IList<InlineBase>

Inherited Members DocumentElementCollectionBase<InlineBase, Paragraph>.GetEnumerator()DocumentElementCollectionBase<InlineBase, Paragraph>.IndexOf(InlineBase)DocumentElementCollectionBase<InlineBase, Paragraph>.Insert(int, InlineBase)DocumentElementCollectionBase<InlineBase, Paragraph>.InsertRange(int, IEnumerable<InlineBase>)DocumentElementCollectionBase<InlineBase, Paragraph>.RemoveAt(int)DocumentElementCollectionBase<InlineBase, Paragraph>.RemoveRange(int, int)DocumentElementCollectionBase<InlineBase, Paragraph>.Clear()DocumentElementCollectionBase<InlineBase, Paragraph>.Contains(InlineBase)DocumentElementCollectionBase<InlineBase, Paragraph>.CopyTo(InlineBase[], int)DocumentElementCollectionBase<InlineBase, Paragraph>.Remove(InlineBase)DocumentElementCollectionBase<InlineBase, Paragraph>.Add(InlineBase)DocumentElementCollectionBase<InlineBase, Paragraph>.CountDocumentElementCollectionBase<InlineBase, Paragraph>.this[int]

Methods

AddFloatingImage()

Creates and appends a new FloatingImage to the collection and returns it for positioning, wrapping, and image configuration.

Declaration

cs-api-definition
public FloatingImage AddFloatingImage()

Returns

FloatingImage

The added floating image.

AddImageInline()

Creates and appends a new ImageInline to the collection and returns it for image source and sizing configuration.

Declaration

cs-api-definition
public ImageInline AddImageInline()

Returns

ImageInline

The added image inline.

AddRun()

Creates and appends a new empty Run to the collection and returns it for text and formatting configuration.

Declaration

cs-api-definition
public Run AddRun()

Returns

Run

The added run.

AddRun(string)

Creates and appends a new Run with the specified text to the collection and returns it for additional configuration.

Declaration

cs-api-definition
public Run AddRun(string text)

Parameters

text

string

Returns

Run

The added run.