LEADTOOLS Raster Imaging C++ Class Library Help > Classes and Member Functions > LAnnPolyRuler > LAnnPolyRuler Member Functions > LAnnPolyRuler::GetUnitLen |
#include "ltwrappr.h"
virtual L_SIZE_T LAnnPolyRuler::GetUnitLen()
Gets the size of the buffer required to hold pUnitAbbrev in LAnnRuler::GetUnit.
Returns
The length of the unit abbreviation string.
Comments
Call this function before calling LAnnRuler::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. |
Win32, x64.
See Also
Example
For an example, refer to LAnnPolyRuler::GetDistance.