## DocumentVisitor.VisitSubDocument method Called when a sub-document is encountered. ```csharp public virtual VisitorAction VisitSubDocument(SubDocument subDocument) ``` | Parameter | Type | Descr......<summary> /// Called when a Section node is encountered in the...VisitSectionStart(Sectionsection) { // Get the index of our section within...
## Node::get_PreviousSibling method Gets the node immediately preceding this node. ```cpp System::SharedPtr Aspose::Words::Node::get_PreviousSibling() ``` ## Examples Shows how....../compositenode/) to remove a section before the last section in the document...(doc); builder->Writeln(u"Section 1 text."); builder->Insert...
## CompositeNode::get_LastChild method Gets the last child of the node. ```cpp System::SharedPtr Aspose::Words::CompositeNode::get_LastChild() const ``` ## Examples Shows how t....../) to remove a section before the last section in the document...(doc); builder->Writeln(u"Section 1 text."); builder->Insert...
Discover the Aspose.Words.Body class, your essential tool for managing Section text effortlessly and enhancing document processing efficiency....container for the main text of a section. To learn more, visit the Aspose...ParentSection { get; } Gets the parent section of this story. PreviousSibling...
Paragraph.paragraph_format property. Provides access to the paragraph formatting properties....blank document contains one section, one body and one paragraph...collection. # First, create a new section, and then append it as a child...
PageSetup.pageNumberStyle property. Gets or sets the page number format....set up page numbering in a section. let doc = new aw . Document...doc ); builder . writeln ( "Section 1, page 1." ); builder . insertBreak...
**Inheritance:** java.lang.Object ``` public class PageSetup ``` Represents the page setup properties of a Section. To learn more, visit the [ Working with Sections ][Working with Sections] documen......page setup properties of a section. To learn more, visit the [...[ Working with Sections ][Working with Sections] documentation...
## Document::get_LastSection method Gets the last Section in the document. ```cpp System::SharedPtrSection> Aspose::Words::Document::get_LastSection() ``` ## Examples Shows how to c......tion method Gets the last section in the document. ```cpp Sy...System::SharedPtr<Aspose::Words::Section> Aspose::Words::Document::get_LastSection()...
## Body.EnsureMinimum method If the last child is not a paragraph, creates and appends one empty paragraph. ```csharp public void EnsureMinimum() ``` ## Examples Clears main text from all Sections ......from all sections from the document leaving the sections themselves...blank document contains one section, one body and one paragraph...
**Inheritance:** java.lang.Object ``` public class SectionStart ``` The type of break at the beginning of the Section. **Examples:** Shows how to specify how a new Section separates itself from the......break at the beginning of the section. **Examples:** Shows how to...to specify how a new section separates itself from the previous...