TerGetTabStop
Return the parameters for a tab stop and the number of tab stop for a line.
int TerGetTabStop( LineNo, TabNo, out pPos, out pType, out pFlag)
int TerGetTabStop2( type, LineNo, TabNo, out pPos, out pType, out pFlag)
int type; | This argument specifies the meaning of the 'LineNo' argument: |
| PID_LINE: | The 'LineNo' parameter specifies the text line number. |
| PID_PARA: | The 'LineNo' parameter specifies the paragraph id. |
| PID_TAB: | The 'L:ineNo' parameter specifies the tab id. |
int LineNo; | Line number (or paragraph or tab id) to get the tab parameters for. Set to -1 to get the tab stop parameters for the current line. |
int TabNo; | Tab number to inquire. To simply get the tab count for the line, set the TabNo parameter to -1. |
int pPos; | The variable to receive the tab position (in twips). |
int pType; | The variable to receive the tab type: |
| TAB_LEFT: | Left aligned tab |
| TAB_RIGHT: | Right aligned tab |
| TAB_CENTER: | Center aligned tab |
| TAB_DECIMAL: | Decimal aligned tab |
int pFlag; | The variable to receive the tab flag: |
| TAB_DOT: | Dot leader |
| TAB_HYPH: | Hyphen leader |
| TAB_ULINE: | Underline leader |
Return Value: This function returns the number of tab stops for the line.