com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Class TextStyle

  • All Implemented Interfaces:
    ITextStyle


    public class TextStyle
    extends PVIObject
    implements ITextStyle

    This class contains the text style formatting properties.

    • Field Detail

      • MaxLevelCount

        public static final byte MaxLevelCount

        Maximum count of style levels that can be defined. Use it with getLevel(int)


                       
         
        for (int i = 0; i < TextStyle.MaxLevelCount; i++)
         {
             IParagraphFormat paragraphFormat = getLevel(i);
             ...
         }

        See Also:
        Constant Field Values
    • Method Detail

      • getLevel

        public final IParagraphFormat getLevel(int index)

        If level of style exist returns it, otherwise returns null.

        Specified by:
        getLevel in interface ITextStyle
        Parameters:
        index - Zero-based index of level. Must lay in 0..8 interval.
        Returns:
        Formatting of level IParagraphFormat.
      • getVersion

        public long getVersion()

        Version. Read-only long.

      • getParent_Immediate

        public com.aspose.slides.IDOMObject getParent_Immediate()

        Returns Parent_Immediate object. Read-only IDOMObject.