Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

WordRepeatingSection

OfficeIMO.Word

Namespace
OfficeIMO.Word
Assembly
OfficeIMO.Word
Source revision
0eef6a5756b9 with working tree changes

Represents a repeating section content control within a paragraph.

Inheritance

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.

Methods

public IReadOnlyList<string> ExtractValue() #

Extracts the repeating-section text values for content-control form maps.

Returns

IReadOnlyList<string>
public void Remove() #

Removes the repeating section from the paragraph.

public void SetTextItems(IEnumerable<string?> values) #

Replaces the repeating-section items with text values.

Parameters

values System.Collections.Generic.IEnumerable<string?> required
Item text values to apply. An empty list leaves one blank item so the control stays editable in Word.

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.