#include "ltivw.h"
L_LTIVW_API L_INT L_DispContainerGetRulerAttributes(hCellWnd, pAttributes);
L_HWND hCellWnd; |
handle to the cell window |
LPRULERATTRIBS pAttributes; |
pointer to a ruler attribute structure |
Gets the current attributes of the cell rulers.
Parameter |
Description |
hCellWnd | A handle to the window that represents the cell on which the function's effect will be applied. |
pAttributes | Pointer to a RULERATTRIBS structure to be updated with the current ruler attributes. |
SUCCESS | The function was successful. |
1 | An error occurred. Refer to Return Codes. |
Before calling L_DispContainerGetRulerAttributes apply the following:
To set new cell properties, call L_DispContainerSetRulerAttributes.
For more information on the available attributes that can be used to control the shape of the ruler, refer to the RULERATTRIBS structure.
Required DLLs and Libraries
LTIVW For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
For an example, refer to L_DispContainerSetRulerAttributes.