Partager via


SectionProperties.Move Method

Moves the specified section to the specified index position, moving the slides in the section along with the section break.

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

Syntax

'Declaration
Sub Move ( _
    sectionIndex As Integer, _
    toPos As Integer _
)
'Usage
Dim instance As SectionProperties
Dim sectionIndex As Integer
Dim toPos As Integer

instance.Move(sectionIndex, toPos)
void Move(
    int sectionIndex,
    int toPos
)

Parameters

  • sectionIndex
    Type: System.Int32
    The index of the section to move.
  • toPos
    Type: System.Int32
    The index position to which to move the section.

Remarks

The section is moved to the index position immediately before the section whose current index is toPos.

See Also

Reference

SectionProperties Interface

SectionProperties Members

Microsoft.Office.Interop.PowerPoint Namespace