StyledText.InsertStyleRun Method

Inserts the StyleRun passed at the insertion point designated by Index. Index is zero-based.

Syntax

StyledText.InsertStyleRun Run, Index


Parameters

Run

StyleRun

Index

Integer


You can get the total number of StyleRuns in Text from the StyleRunCount method.