aspose.cells

Class FontSettingCollection

Represents the list of FontSetting.

Property Getters/Setters Summary
functiongetCount()
functiongetHtmlString()
function
           Gets and sets the html string which contains data and some formats in this shape.
functiongetText()
function
setText(value)
           Gets and sets the text of the shape.
functiongetTextAlignment()
Represents the alignment setting of the text body.
functiongetTextParagraphs()
Gets all paragraphs.
functionget(index)
Gets the FontSetting by the index.
 
Method Summary
functionadd(value)
Reserved for internal use.
functionappendText(text)
Appends the text.
functionclear()
Clear all setting.
functioncontains(value)
Reserved for internal use.
functiondeleteText(index, count)
Delete some characters.
functionequals(obj)
functionformat(startIndex, length, font, flag)
Format the text with font setting.
functionget(index)
Reserved for internal use.
functiongetParagraphEnumerator()
Gets the enumerator of the paragraphs.
functionhashCode()
functionindexOf(value)
Reserved for internal use.
functioninsertText(index, text)
Insert index at the position.
functioniterator()
functionremoveAt(index)
functionreplace(index, count, text)
Replace the text.
functionreplace(oldValue, newValue)
Replace the text.
functionsetWordArtStyle(style)
Sets the preset WordArt style.
 

    • Property Getters/Setters Detail

      • getTextAlignment : ShapeTextAlignment 

        function getTextAlignment()
        
        Represents the alignment setting of the text body.
      • getText/setText : String 

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

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

        function getCount()
        
      • get : FontSetting 

        function get(index)
        
        Gets the FontSetting by the index.
        Parameters:
        index - The index.
        Returns:
    • Method Detail

      • setWordArtStyle

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

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

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

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

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

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

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

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

        function clear()
        Clear all setting.
      • equals

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

        function hashCode()
        Returns:
      • removeAt

        function removeAt(index)
      • iterator

        function iterator()
      • get

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

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

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

        function indexOf(value)
        Reserved for internal use.