tabstop-ag凯发旗舰厅
com.spire.presentation
class tabstop
java.lang.object
com.spire.presentation.tabstop
- all implemented interfaces:
- java.lang.comparable
public final class tabstop
- extends java.lang.object
- implements java.lang.comparable
represents a tabulation for a text.
tabstop
public tabstop(double position,
tabalignmenttype align)
- initializes a new instance of the tab class.
- parameters:
position
- position of the new tab.align
- align style of the new tab.
getposition
public double getposition()
- gets position of a tab. assigning this property can change tab's index in collection and invalidate enumerator.
read/write .
- returns:
setposition
public void setposition(double value)
- sets position of a tab. assigning this property can change tab's index in collection and invalidate enumerator.
read/write .
getalignment
public tabalignmenttype getalignment()
- gets align style of a tab.
read/write .
- returns:
setalignment
public void setalignment(tabalignmenttype value)
- sets align style of a tab.
read/write .
compareto
public int compareto(java.lang.object obj)
- compares the current instance with another object of the same type.
- parameters:
obj
- an object to compare with this instance.
- returns:
- a 32-bit integer that indicates the relative order of the comparands. the return value has these meanings: < 0 - this instance is less than obj.= 0 - this instance is equal to obj.> 0 - this instance is greater than obj.