Retrieves the current scale overlay text type for the specified cell.
#include "ltwrappr.h"
L_INT LImageViewerCell::GetScaleTagType(puTagType);
Address of the variable to be updated, with the scale tag type. Possible values are:
Value | Meaning |
---|---|
CONTAINER_TAG_SCALE_X | [0] The scale value is normalized. |
CONTAINER_TAG_SCALE_PERCENTAGE | [1] The scale value is percentage. |
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
1 | An error occurred. Refer to Return Codes. |
To set the scale tag type of the cell, use the LImageViewerCell::SetScaleTagType function.
To get the scale of cell or sub-cell, use the LImageViewerCell::GetCellScale function.
To set the scale of cell or sub-cell, use the LImageViewerCell::SetCellScale function.
To set the properties of the scale action, use the LImageViewerCell::SetActionProperties function.
To get the properties of the scale action, use the LImageViewerCell::GetActionProperties function.
To set the scale mode of cell or sub-cell, use the LImageViewerCell::SetCellScaleMode function.
For an example, refer to LImageViewerCell::SetScaleTagType.