IsMetaFont
int IsMetaFont (const char fontName[]);
Purpose
This function returns whether the specified font name is a metafont name.
LabWindows/CVI includes several predefined metafonts. You can create additional metafonts by calling the CreateMetaFont, CreateMetaFontEx, or CreateMetaFontWithCharacterSet functions in the User Interface Library.
Parameters
Input | ||
Name | Type | Description |
fontName | const char[] | The name of a typeface or metafont. |
Return Value
Name | Type | Description | ||
result | int | Returns 0 (FALSE) if the font is not a meta font. Returns 1 (TRUE) if the font is a meta font. Returns a negative error code if the function fails. The possible negative error codes are:
A description of any of these error codes can be obtained using the GetGeneralErrorString function in the toolbox.fp instrument driver. |
Additional Information
Library: Programmer's Toolbox
Include file: toolbox\toolbox.h
LabWindows/CVI compatibility: LabWindows/CVI 4.0 and later