Compartilhar via


Diagram.AutoFormat Property

Sets or returns a constant indicating the automatic formatting state for a diagram.

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

Syntax

'Declaration
Property AutoFormat As MsoTriState
    Get
    Set
'Usage
Dim instance As Diagram
Dim value As MsoTriState

value = instance.AutoFormat

instance.AutoFormat = value
MsoTriState AutoFormat { get; set; }

Property Value

Type: Microsoft.Office.Core.MsoTriState

Remarks

Setting AutoFormat to msoFalse disables automatic formatting for the diagram. Setting AutoFormat to msoTrue enables automatic formatting for the diagram.

The following MsoTriState constants to not apply to this property: msoCTrue, msoTriStateMixed, msoTriStateToggle.

See Also

Reference

Diagram Interface

Diagram Members

Microsoft.Office.Interop.Excel Namespace