TerGetFrameParam
Get the frame object parameters.
int TerGetFrameParam(hWnd, id, type)
HWND hWnd; | The handle of the window to be accessed |
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 for a list of text wrap style. |
FP_YBASE | Return the vertical base position for the frame. Please refer to the TerSetFrameYBase function for a list of base constants. |
FP_FILL_PATTERN | Fill pattern: 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.