Available in LEADTOOLS Medical Imaging toolkits. |
DISPCELLPROPERTIES
typedef struct tagDISPCELLPROPERTIES
{
L_UINT uStructSize;
L_UINT uMask;
L_UINT uShowRuler;
L_UINT uShowTags;
L_UINT uNumRows;
L_UINT uNumCols;
L_BOOL bOnMove;
L_BOOL bIndividual;
L_BOOL bIsFit;
} DISPCELLPROPERTIES, * pDISPCELLPROPERTIES;
The DISPCELLPROPERTIES structure contains the options for controlling the behavior of the container's cells.
Member |
Description |
|
uStructSize |
Size of this structure in bytes, for versioning. Use the sizeof() macro to calculate this value. |
|
uMask |
Set of flags that specify which members of this structure contain data to be set or which members are being requested. This member can have one or more of the following flags set: |
|
|
Value |
Meaning |
|
DCCELLPF_ALL |
[0x0000007F] All members are valid or must be filled in. |
|
DCCELLPF_SHOWRULER |
[0x00000001] The uShowRuler member is valid or must be filled in. |
|
DCCELLPF_SHOWTAGS |
[0x00000002] The uShowTags member is valid or must be filled in. |
|
DCCELLPF_ROW |
[0x00000004] The uNumRows member is valid or must be filled in. |
|
DCCELLPF_COLS |
[0x00000008] The uNumCols member is valid or must be filled in. |
|
DCCELLPF_APPLYONMOVE |
[0x00000010] The bOneMove member is valid or must be filled in. |
|
DCCELLPF_ALLOWINDIVIDUALWINDOWLEVEL |
[0x00000020] The bIndividual member is valid or must be filled in. |
|
DCCELLPF_IMAGE_FIT |
[0x00000040] The bIsFit member is valid or must be filled in. |
uShowRuler |
Flags that indicate which ruler to display. Possible values are: |
|
|
Value |
Meaning |
|
DCCELLPF_SHOWRULER_NONE |
[0x00000000] Display no ruler. |
|
DCCELLPF_SHOWRULER_BOTH |
[0x00000001] Display the horizontal and vertical rulers. This is the default value. |
|
DCCELLPF_SHOWRULER_VERT |
[0x00000002] Display the vertical ruler. |
|
DCCELLPF_SHOWRULER_HORZ |
[0x00000003] Display the horizontal ruler. |
uShowTags |
Flag that indicates whether to display the tags. Possible values are: |
|
|
Value |
Meaning |
|
DCCELLPF_SHOWTAGS_SHOW |
[0x00000000] Show tags. This is the default value. |
|
DCCELLPF_SHOWTAGS_HIDE |
[0x00000001] Hide tags. |
uNumRows |
Number of rows within the cell. The default value is 1. |
|
uNumCols |
Number of columns within the cell. The default value is 1. |
bOnMove |
Flag that indicates whether the action is applied when the user drags the mouse. This parameter is ignored if bIndividual is TRUE. Possible values are: |
|
|
Value |
Meaning |
|
TRUE |
Apply the action when the user drags the mouse. |
|
FALSE |
Apply the action after the user releases the mouse button. This is the default value. |
bIndividual |
A Boolean flag that indicates whether the window level and alpha actions will be applied on each sub image separately. Possible values are: |
|
|
Value |
Meaning |
|
TRUE |
Apply the window level and alpha actions on each sub image separately. |
|
FALSE |
Apply the window level and alpha actions on every image in the list, after it has been applied to one image on the list. This is the default value. |
bIsFit |
A Boolean flag that indicates whether the image is scaled to fit the window size. Possible values are: |
|
|
Value |
Meaning |
|
TRUE |
The image is scaled to fit the window size. |
|
FALSE |
The image is displayed at its normal size. This is the default value. |
Comments
This structure is used by the L_DispContainerSetCellProperties and the L_DispContainerGetCellProperties functions.