Udostępnij za pośrednictwem


SmartArtNode.Demote Method

Demotes the current node a single level within the data model.

Namespace:  Microsoft.Office.Core
Assembly:  office (in office.dll)

Syntax

'Declaration
Sub Demote
'Usage
Dim instance As SmartArtNode

instance.Demote()
void Demote()

Remarks

This functionality mimics the Demote button in the Microsoft Office Fluent Ribbon UI when working within the content pane. For example, given the following data model:

  • A

  • B

    • C
  • D

if B is demoted, the resulting data model looks like the following:

  • A

    • B

    • C

  • D

See Also

Reference

SmartArtNode Interface

SmartArtNode Members

Microsoft.Office.Core Namespace