L_DispContainerGetRulerAttributes

Summary

Gets the current attributes of the cell rulers.

Syntax

#include "ltivw.h"

L_LTIVW_API L_INT L_DispContainerGetRulerAttributes(hCellWnd, pAttributes);

Parameters

L_HWND hCellWnd

A handle to the window that represents the cell on which the function's effect will be applied.

LPRULERATTRIBS pAttributes

Pointer to a RULERATTRIBS structure to be updated with the current ruler attributes.

Returns

Value Meaning
SUCCESS The function was successful.
1 An error occurred. Refer to Return Codes.

Comments

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

See Also

Functions

Topics

Example

For an example, refer to L_DispContainerSetRulerAttributes.

Help Version 22.0.2022.12.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Medical Image Viewer C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.