Interior.ColorIndex Property

Returns or sets the color of the interior.

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

Syntax

'Declaration
Property ColorIndex As Object
    Get
    Set
'Usage
Dim instance As Interior
Dim value As Object

value = instance.ColorIndex

instance.ColorIndex = value
Object ColorIndex { get; set; }

Property Value

Type: System.Object
Object

Remarks

The color is specified as an Object set to an index value for the current color palette, or as one of the following XlColorIndex constants:

  • xlColorIndexAutomatic

  • xlColorIndexNone

See Also

Reference

Interior Interface

Interior Members

Microsoft.Office.Interop.Word Namespace