asposecells.api

Class FontSettingCollection

Represents the list of FontSetting.

Property Getters/Setters Summary
methodgetCount()
methodgetHtmlString()
method
           Gets and sets the html string which contains data and some formats in this shape.
methodgetText()
method
setText(value)
           Gets and sets the text of the shape.
methodgetTextAlignment()
Represents the alignment setting of the text body.
methodgetTextParagraphs()
Gets all paragraphs.
methodget(index)
Gets the FontSetting by the index.
 
Method Summary
methodadd(value)
Reserved for internal use.
methodappendText(text)
Appends the text.
methodclear()
Clear all setting.
methodcontains(value)
Reserved for internal use.
methoddeleteText(index, count)
Delete some characters.
methodequals(obj)
methodformat(startIndex, length, font, flag)
Format the text with font setting.
methodget(index)
Reserved for internal use.
methodgetParagraphEnumerator()
Gets the enumerator of the paragraphs.
methodhashCode()
methodindexOf(value)
Reserved for internal use.
methodinsertText(index, text)
Insert index at the position.
methoditerator()
methodremoveAt(index)
methodreplace(index, count, text)
Replace the text.
methodreplace(oldValue, newValue)
Replace the text.
methodsetWordArtStyle(style)
Sets the preset WordArt style.
 

    • Property Getters/Setters Detail

      • getText/setText : String 

        String getText() / setText(value)
        
        Gets and sets the text of the shape.
      • getHtmlString/setHtmlString : String 

        String getHtmlString() / setHtmlString(value)
        
        Gets and sets the html string which contains data and some formats in this shape.
      • getCount : int 

        int getCount()
        
    • Method Detail

      • setWordArtStyle

         setWordArtStyle(style)
        Sets the preset WordArt style.
        Parameters:
        style: int - A PresetWordArtStyle value. The preset WordArt style.
      • getParagraphEnumerator

        Iterator getParagraphEnumerator()
        Gets the enumerator of the paragraphs.
        Returns:
      • appendText

         appendText(text)
        Appends the text.
        Parameters:
        text: String - The text.
      • insertText

         insertText(index, text)
        Insert index at the position.
        Parameters:
        index: int - The start index.
        text: String - The text.
      • replace

         replace(index, count, text)
        Replace the text.
        Parameters:
        index: int - The start index.
        count: int - The count of characters.
        text: String - The text.
      • replace

         replace(oldValue, newValue)
        Replace the text.
        Parameters:
        oldValue: String - The old text.
        newValue: String - The new text.
      • deleteText

         deleteText(index, count)
        Delete some characters.
        Parameters:
        index: int - The start index.
        count: int - The count of characters.
      • format

         format(startIndex, length, font, flag)
        Format the text with font setting.
        Parameters:
        startIndex: int - The start index.
        length: int - The length.
        font: Font - The font.
        flag: StyleFlag - The flags of the font.
      • clear

         clear()
        Clear all setting.
      • equals

        boolean equals(obj)
        Parameters:
        obj: Object -
        Returns:
      • hashCode

        int hashCode()
        Returns:
      • removeAt

         removeAt(index)
      • iterator

        Iterator iterator()
      • get

        Object get(index)
        Reserved for internal use.
      • contains

        boolean contains(value)
        Reserved for internal use.
      • add

        int add(value)
        Reserved for internal use.
      • indexOf

        int indexOf(value)
        Reserved for internal use.