Partager via


Section Interface

Represents a single section in a selection, range, or document.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
<GuidAttribute("00020959-0000-0000-C000-000000000046")> _
Public Interface Section
'Usage
Dim instance As Section
[GuidAttribute("00020959-0000-0000-C000-000000000046")]
public interface Section

Remarks

The Section object is a member of the Sections collection. The Sections collection includes all the sections in a selection, range, or document.

Use Sections(index), where index is the index number, to return a single Section object.

Use the Add method or the InsertBreak method to add a new section to a document.

Note   The Headers and Footers properties of the specified Section object return a HeadersFooters object.

See Also

Reference

Section Members

Microsoft.Office.Interop.Word Namespace