LAnnAutomation::GetUnitLen

#include "ltwrappr.h"

virtual L_UINT LAnnAutomation::GetUnitLen(L_VOID)

Gets the size of the buffer required to hold pUnitAbbrev in LAnnAutomation::GetUnit. This function is available in the Document/Medical Toolkits.

Returns

The length of the unit abbreviation string.

Comments

Call this function before calling LAnnAutomation::GetUnit if you want to get the exact size required to hold the Unit Abbreviation string.

Required DLLs and Libraries

LTANN

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

See Also

Functions:

LAnnAutomation::SetBitmapDpiX, LAnnAutomation::SetBitmapDpiY, LAnnAutomation::GetBitmapDpiX, LAnnAutomation::GetBitmapDpiY, LAnnAutomation::SetUnit, LAnnAutomation::GetUnit, LAnnAutomation::GetDistance, LAnnAutomation::SetGaugeLength, LAnnAutomation::GetGaugeLength, Class Members, LAnnAutomation::GetTicMarkLength, LAnnAutomation::SetTicMarkLength, LAnnotation::CalibrateRuler

Topics:

Annotation Functions: Working with the Toolbar

 

Implementing Annotations

 

Automated User Interface for Annotations

 

Calibrating Annotation Ruler Objects

Example

For an example, refer to LAnnAutomation::GetDistance.