Range.Kana Property

Returns or sets whether the specified range of Japanese language text is hiragana or katakana.

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

Syntax

'Declaration
Property Kana As WdKana
    Get
    Set
'Usage
Dim instance As Range
Dim value As WdKana

value = instance.Kana

instance.Kana = value
WdKana Kana { get; set; }

Property Value

Type: Microsoft.Office.Interop.Word.WdKana

Remarks

This property returns wdUndefined if the range contains a mix of hiragana and katakana or if the range contains some non-Japanese text. If you set the Kana property to wdUndefined, an error occurs.

See Also

Reference

Range Interface

Range Members

Microsoft.Office.Interop.Word Namespace