ParagraphStyles Property
- Namespace
TXTextControl.WPF
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWPF. dll
Description
Gets a collection of all paragraph styles the current document contains. The property's value is an object of the type ParagraphStyleCollection.
Syntax
public ParagraphStyleCollection ParagraphStyles { get; }Public ReadOnly Property ParagraphStyles As ParagraphStyleCollectionExamples
The following example iterates through the paragraph styles collection and processes each paragraph style.
foreach (ParagraphStyle paragraphStyle in textControl.ParagraphStyles)
{
paragraphStyle.Name = "CustomerName";
}For Each paragraphStyle As ParagraphStyle In textControl.ParagraphStyles
paragraphStyle.Name = "CustomerName"
NextLimitations
Runtime only.
Read only.