RULERATTRIBS

typedef struct tagRULERATTRIBS 
{ 
   L_UINT uStructSize; 
   L_UINT uFlags; 
   L_INT nRulerTickSize; 
   L_INT nRulerLength; 
   L_BOOL bLongTicks; 
   L_BOOL bShowMeasurement; 
} RULERATTRIBS, * LPRULERATTRIBS; 

The RULERATTRIBS structure contains options for controlling the cell ruler style and look.

Member Description
uStructSize Size of this structure in bytes, for versioning. Use the sizeof() function to calculate this value.
uFlags Flag that indicates which how the animation will go through the frames. Possible values are:
Value Meaning
RULERATTRIBS_RULERTICKSIZE [0x000001] The nRulerTickSize member is valid or must be filled in.
RULERATTRIBS_RULERLENGTH [0x000002] The nRulerLength member is valid or must be filled in.
RULERATTRIBS_ENABLELONGTICK [0x000004] The bLongTicks member is valid or must be filled in.
RULERATTRIBS_SHOWMEASUREMENT [0x000008] The bShowMeasurement member is valid or must be filled in.
RULERATTRIBS_ALL [0x00000F] All the structure member must be valid or must be filled in.
nRulerTickSize The size of the tick of the ruler that represents the ruler unit.
nRulerLength The length of the ruler, setting this value to 1000 mean the cell horizontal ruler length will be the same as the cell width, and the vertical ruler will be the same as the cell height.
bLongTicks Enable or disable the long tick, which is the tick that happens every 5 and 10 ticks. Possible values are:
Value Meaning
TRUE Enable the long tick.
FALSE Disable the long tick.
bShowMeasurement Flag that indicates whether to show or hide the cell measurement unit text next to the ruler. Possible values are:
Value Meaning
TRUE Show the cell measurement unit.
FALSE Hide the cell measurement unit.

Comments

This structure is used by the following functions:

L_DispContainerGetRulerUnit

L_DispContainerSetRulerUnit

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Medical Image Viewer C API Help
Click or drag to resize