L_DispContainerGetFullExploded

#include "ltivw.h"

L_LTIVW_API L_INT L_DispContainerGetFullExploded(hCon, pbExploded, uFlags);

Returns a value that indicates whether a cell is exploded or not.

Parameters

HDISPCONTAINER hCon

Handle to the container.

L_BOOL * pbExploded

Pointer to a variable to be updated with the current explode status. Possible values are:

Value Meaning
TRUE The cell is exploded.
FALSE The cell is not exploded.

L_UINT uFlags

Reserved for future. Must be 0.

Returns

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

Comments

The exploded mode is when the cell layout is divided into multiple cells and sub-cells, and the user wants to temporarily view the selected cell / sub-cell and makes it occupy the whole display area. This can be achieved by either using this property, or by simply double clicking any of the visible sub-cells.

To explode a cell, call to L_DispContainerSetFullExploded function.

Required DLLs and Libraries

See Also

Functions

Topics

Example

This function toggle whether the full explode feature is on or off.

L_INT L_DispContainerGetFullExplodedkExample(HDISPCONTAINER hCon) 
{ 
   L_BOOL bExploded; 
   L_DispContainerGetFullExploded(hCon, &bExploded, 0); 
 
   L_DispContainerSetFullExploded(hCon, !bExploded, 0); 
 
   MessageBox(NULL, TEXT("The full explode mode is now On, please double click on any click to preform the full explode"), TEXT("Status"), MB_OK); 
 
   return SUCCESS; 
} 

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

LEADTOOLS Medical Image Viewer C API Help