Share via


OLEFormat.IconIndex Property

Returns or sets the icon that's used when the DisplayAsIcon property is True: 0 (zero) corresponds to the first icon, 1 corresponds to the second icon, and so on. If this argument is omitted, the first (default) icon is used.

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

Syntax

'Declaration
Property IconIndex As Integer
    Get
    Set
'Usage
Dim instance As OLEFormat
Dim value As Integer

value = instance.IconIndex

instance.IconIndex = value
int IconIndex { get; set; }

Property Value

Type: System.Int32

See Also

Reference

OLEFormat Interface

OLEFormat Members

Microsoft.Office.Interop.Word Namespace