Class
WordRepeatingSection
OfficeIMO.Word
Represents a repeating section content control within a paragraph.
Inheritance
- WordElement
- WordRepeatingSection
Usage
Explore 11 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 11
- Method WordDocument.AddRepeatingSection
- Method WordDocument.GetRepeatingSectionByAlias
- Method WordDocument.GetRepeatingSectionByTag
- Property WordDocument.RepeatingSections
- Property WordFooter.RepeatingSections
- Property WordHeader.RepeatingSections
- Property WordHeaderFooter.RepeatingSections
- Method WordParagraph.AddRepeatingSection
- Property WordParagraph.RepeatingSection
- Property WordSection.RepeatingSections
- Property WordTable.RepeatingSections
Methods
public IReadOnlyList<string> ExtractValue() #Extracts the repeating-section text values for content-control form maps.
Returns
IReadOnlyList<string>public void SetTextItems(IEnumerable<string?> values) #Replaces the repeating-section items with text values.
Parameters
- values System.Collections.Generic.IEnumerable<string?>
- Item text values to apply. An empty list leaves one blank item so the control stays editable in Word.
Inherited Methods
Properties
public string? Text { get; } #Gets the native content text using the same projection as a generic structured document tag; null means no ordinary text run.
public string? Alias { get; } #Gets the alias associated with this repeating section control.
public string? Tag { get; set; } #Gets or sets the tag value for this repeating section control.
public IReadOnlyList<string> TextItems { get; } #Gets the text values in the repeating-section items.