DISPCELLTAGINFO

typedef struct tagDISPCELLTAGINFO 
{ 
   L_UINT uStructSize; 
   L_UINT uMask; 
   L_UINT uPosition; 
   L_UINT uAlign; 
   L_TCHAR * szText; 
   L_UINT uTagType; 
} DISPCELLTAGINFO,   * pDISPCELLTAGINFO; 

The DISPCELLTAGINFO structure provides information about the cell or sub-cell tag.

Member Description
uStructSize Size of this structure in bytes, for versioning. Use the sizeof() macro to calculate this value.
uMask Value that indicates which members contains valid data for setting, or which members should be updated. Flags can be combined using the bitwise 'OR. Possible values are:
  Value Meaning
  DCTF_ALL [0x0000000F] All members must be valid or must be filled in.
  DCTF_POSITION [0x00000001] the uPosition member must be valid or must be filled in.
  DCTF_ALIGN [0x00000002] the uAlign member must be valid or must be filled in.
  DCTF_TYPE [0x00000004] the szText member must be valid or must be filled in.
  DCTF_TEXT [0x00000008] the uTagType member must be valid or must be filled in.

 

uPosition The number of rows to count before placing the tag.
uAlign Value that specifies the origin point from which to count the rows specified in the uRow parameter. For example, if uAlign is DISPWIN_ALIGN_BOTTOMLEFT and uRow is 4, the application will count 4 rows from the bottom and place the tag on that location. Possible values are:
  Value Meaning
  DISPWIN_ALIGN_TOPLEFT [0x0000] Start counting rows from the top of the cell. The tag will be left justified.
  DISPWIN_ALIGN_LEFTCENTER [0x0001] The tag is placed in the center, based on the height of the cell, and is left justified.
  DISPWIN_ALIGN_BOTTOMLEFT [0x0002] Start counting rows from the bottom of the cell. The tag will be left justified.
  DISPWIN_ALIGN_TOPCENTER [0x0003] The tag is placed in the center, based on the width of the cell, and is top justified.
  DISPWIN_ALIGN_BOTTOMCENTER [0x0004] The tag is placed in the center, based on the width of the cell, and is bottom justified.
  DISPWIN_ALIGN_TOPRIGHT [0x0005] Start counting rows from the top of the cell. The tag will be right justified.
  DISPWIN_ALIGN_RIGHTCENTER [0x0006] The tag is placed in the center, based on the height of the cell, and is right justified.
  DISPWIN_ALIGN_BOTTOMRIGHT [0x0007] Start counting rows from the bottom of the cell. The tag will be right justified.
szText String containing a custom tag. This parameter is only used if uTagType is set to DISPWIN_TYPE_USERDATA.
uTagType Value that represents the type of tag to be added. Possible values are:
  Value Meaning
  DISPWIN_TYPE_USERDATA [0x0000] User data tag
  DISPWIN_TYPE_SCALE [0x0001] Scale tag
  DISPWIN_TYPE_WLCENTERWIDTH [0x0002] Window level tag
  DISPWIN_TYPE_FIELDOFVIEW [0x0003] Field of view tag
  DISPWIN_TYPE_OWNERDRAW [0x0004] Owner draw tag
  DISPWIN_TYPE_FRAME [0x0005] Frame tag.
  DISPWIN_TYPE_RULERUNIT [0x0005] Ruler unit tag.

Comments

This structure is used with the following functions:

L_DispContainerGetSubCellTag

L_DispContainerEditSubCellTag

L_DispContainerGetCellTag

L_DispContainerEditCellTag

Help Version 19.0.2017.10.18
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Medical Image Viewer C API Help