LAnnText::GetFontSize

✎ NOTE

THIS FUNCTION IS NOW INHERITED DIRECTLY FROM THE PARENT LANNOTATION CLASS.

Summary

Gets the current unscaled value of the font size of the annotation object.

Syntax

#include "ltwrappr.h"

virtual L_DOUBLE LAnnText::GetFontSize()

Returns

The current unscaled font size of the annotation object.

Comments

The font size is scaled using the scaling factors of the container object. For more information, refer to Low-Level Coordinate System for Annotations.

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Functions

Topics

Example

L_INT LAnnText_GetFontSizeExample(LAnnText  * pAnnObject) 
{ 
	L_INT nRet; 
   L_DOUBLE FontSize; /* Object font size */ 
   /* Double the font size */ 
   FontSize = pAnnObject->GetFontSize(); 
   nRet = pAnnObject->SetFontSize(FontSize * 2, 0); 
 
	return nRet; 
 
} 
Help Version 22.0.2022.6.26
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2022 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C++ Class Library Help