com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class TabStop



  • public class TabStop
    extends Object

    Represents a custom Tab stop position in a paragraph.

    • Constructor Summary

      Constructors 
      Constructor and Description
      TabStop()
      Initializes a new instance of the TabStop class.
      TabStop(float position)
      Initializes a new instance of the TabStop class with specified position.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      int getAlignmentType()
      Gets or sets a AlignmentType enum that indicates the tab tab alignment type.
      int getLeaderType()
      Gets or sets a TabLeaderType enum that indicates the tab leader type.
      float getPosition()
      Gets or sets a float value that indicates the tab stop position.
      boolean isReadOnly()
      Gets value indicating that this TabStop instance is already attached to TextFragment and became readonly
      void setAlignmentType(int value)
      Gets or sets a AlignmentType enum that indicates the tab tab alignment type.
      void setLeaderType(int value)
      Gets or sets a TabLeaderType enum that indicates the tab leader type.
      void setPosition(float value)
      Sets a float value that indicates the tab stop position.
    • Constructor Detail

      • TabStop

        public TabStop()

        Initializes a new instance of the TabStop class.

      • TabStop

        public TabStop(float position)

        Initializes a new instance of the TabStop class with specified position.

        Parameters:
        position - The position of the tab stop.
    • Method Detail

      • getPosition

        public float getPosition()

        Gets or sets a float value that indicates the tab stop position.

        Returns:
        float value
      • setPosition

        public void setPosition(float value)

        Sets a float value that indicates the tab stop position.

        Parameters:
        value - float value
      • getLeaderType

        public int getLeaderType()

        Gets or sets a TabLeaderType enum that indicates the tab leader type.

        Returns:
        TabLeaderType element
        See Also:
        TabLeaderType
      • setLeaderType

        public void setLeaderType(int value)

        Gets or sets a TabLeaderType enum that indicates the tab leader type.

        Parameters:
        value - TabLeaderType element
        See Also:
        TabLeaderType
      • getAlignmentType

        public int getAlignmentType()

        Gets or sets a AlignmentType enum that indicates the tab tab alignment type.

        Returns:
        TabAlignmentType element
        See Also:
        TabAlignmentType
      • setAlignmentType

        public void setAlignmentType(int value)

        Gets or sets a AlignmentType enum that indicates the tab tab alignment type.

        Parameters:
        value - TabAlignmentType element
        See Also:
        TabAlignmentType
      • isReadOnly

        public boolean isReadOnly()

        Gets value indicating that this TabStop instance is already attached to TextFragment and became readonly

        Returns:
        boolean value