Phonetics Collection Properties and Methods

Name

Returns

Description

Alignment

Long

Set/Get the alignment for the phonetic text. Use the XlPhoneticAlignment constants

Character Type

Long

Set/Get the type of phonetic text to use. Use the XLPhoneticCharacterType constants

Font

Font

Read-only. Returns an object containing Font options for the text in the Phonetics collection

Length

Long

Read-only. Returns the number of phonetic text characters starting from the Start parameter

Start

Long

Read-only. Returns the position that represents the first character of the phonetic text strings. Valid only if there is only one Phonetic object in the collection

Text

String

Set/Get the phonetic text. Valid only if there is only one Phonetic object in the collection

Visible

Boolean

Set/Get whether the phonetic text is visible to the end user. Valid only if there is only one Phonetic object in the collection

Add

Method. Parameters: Start As Long, Length As Long, Text As String. Adds a Phonetic object to the collection at the cell specified by the parent Range object

Delete

Method. Deletes all the Phonetic objects in the collection

0 0

Post a comment