FontSettingCollection

FontSettingCollection class

Represents the list of FontSetting .

Properties

NameTypeDescription
TextAlignmentShapeTextAlignmentRepresents the alignment setting of the text body.
TextParagraphsTextParagraphCollectionGets all paragraphs.
TextStringGets and sets the text of the shape.
HtmlStringStringGets and sets the html string which contains data and some formats in this shape.
Countint
Item (int)FontSettingGets the FontSetting by the index.

Methods

NameDescription
setWordArtStyleSets the preset WordArt style.
getParagraphEnumeratorGets the enumerator of the paragraphs.
appendTextAppends the text.
insertTextInsert index at the position.
replaceReplace the text.
deleteTextDelete some characters.
formatFormat the text with font setting.
clearClear all setting.
equals
hashCode
removeAt
iterator
getReserved for internal use.
containsReserved for internal use.
addReserved for internal use.
indexOfReserved for internal use.

FontSettingCollection.TextAlignment property

Represents the alignment setting of the text body.

Type: ShapeTextAlignment

FontSettingCollection.TextParagraphs property

Gets all paragraphs.

Type: TextParagraphCollection

FontSettingCollection.Text property

Gets and sets the text of the shape.

Type: String

FontSettingCollection.HtmlString property

Gets and sets the html string which contains data and some formats in this shape.

Type: String

FontSettingCollection.Count property

Type: int

FontSettingCollection.Item (int) property

Gets the FontSetting by the index.

Type: FontSetting

setWordArtStyle(style)

Sets the preset WordArt style.

ParameterTypeDescription
styleintA PresetWordArtStyle value. The preset WordArt style.

getParagraphEnumerator()

Gets the enumerator of the paragraphs.

appendText(text)

Appends the text.

ParameterTypeDescription
textStringThe text.

insertText(index, text)

Insert index at the position.

ParameterTypeDescription
indexintThe start index.
textStringThe text.

replace(index, count, text) (1 of 2)

Replace the text.

ParameterTypeDescription
indexintThe start index.
countintThe count of characters.
textStringThe text.

replace(oldValue, newValue) (2 of 2)

Replace the text.

ParameterTypeDescription
oldValueStringThe old text.
newValueStringThe new text.

deleteText(index, count)

Delete some characters.

ParameterTypeDescription
indexintThe start index.
countintThe count of characters.

format(startIndex, length, font, flag)

Format the text with font setting.

ParameterTypeDescription
startIndexintThe start index.
lengthintThe length.
fontFontThe font.
flagStyleFlagThe flags of the font.

clear()

Clear all setting.

equals(obj)

ParameterTypeDescription
objObject

hashCode()

removeAt(index)

iterator()

get(index)

Reserved for internal use.

contains(value)

Reserved for internal use.

add(value)

Reserved for internal use.

indexOf(value)

Reserved for internal use.