TerGetParaParam
Retrieve additional paragraph properties.
int TerGerParaParam(LineNo, IsStyleItem, type)
bool TerGetParaParam(LineNo, IsStyleItem, type, out color)
int LineNo; | Line number to retrieve the paragraph information. To specify a para id instead of a line number, specify a negative value. |
BOOL IsStyleItem; | This parameter allows you to retrieve the paragraph information for a style item. When this flag is set to TRUE, the LineNo parameter should be used to pass a style id to retrieve its information. You can also set the LineNo to SID_CUR to get the paragraph information about the style being currently edited. |
| int type | Parameter type to retrieve. |
| Color color | Use by the override function to return the color related parameters. |
| PARAINFO_TEXT_FLOW | Paragraph text flow. Please refer to the TerSetParaTextFlow function for the list of text flow constants. |
| PARAINFO_BORDER_COLOR | Paragraph border color. |
| PARAINFO_BK_COLOR | Paragraph background color. |
Return Value: This function returns the value of the requested parameter. It returns PARAINFO_ERROR to indicate an error condition.