LEADTOOLS Raster Imaging C++ Class Library Help > Classes and Member Functions > LAnnAutomation > LAnnAutomation Member Functions > LAnnAutomation::SetFontName |
#include "ltwrappr.h"
virtual L_INT LAnnAutomation::SetFontName(pFontName, uFlags=0)
L_TCHAR * pFontName; |
/* name of the font */ |
L_UINT uFlags; |
/* reserved for future versions */ |
NOTE: |
THIS FUNCTION IS NOW INHERITED DIRECTLY FROM THE PARENT LANNOTATION CLASS. |
Sets the font property of the annotation object.
Parameter |
Description |
pFontName |
Character string containing the name of the font to assign. |
uFlags |
Reserved for future versions, use 0. |
Returns
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
Comments
Specify the name of the font in a character 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 LAnnAutomation::GetFontName.