TerGetFrameParam
Get the frame object parameters.
int TerGetFrameParam(hWnd, id, type)
int id; | Frame item id to retrieve parameters. |
int type; | The parameter to retrieve: |
| FP_TEXT_ROTATION: | Return the text rotation type. Please refer to the TerRotateFrameText function for a list of text rotation type constants. |
| FP_WRAP_STYLE: | Return the text wrap style. Please refer to the TerSetObjectWrapStyle function to a list of text wrap styles. |
| FP_YBASE | Return the vertical base position for the frame. Please refer to the TerSetFrameYBase function for a list of base constant values. |
| FP_FILL_PATTERN | Fill pattej: 0=Transparent, 1=Solid |
| FP_TEXT_DIST | Text distance from the frame in twips. |
Return Value: The function returns the value for the requested parameter. It returns FP_ERROR to indicate an error condition.