Skip to main content

Метод Sections.getEnumerator

Метод позволяет перечислить коллекцию секций документа.

Пример​


Sections sections = document.getSections();
SectionsEnumerator sectionsEnumerator = sections.GetEnumerator();
foreach (var section in sectionsEnumerator)
{
Console.WriteLine(section.getRange().extractText());
}