int IsMetaFont (const char fontName[]);
This function returns whether the specified font name is a metafont name.
CVI includes several predefined meta fonts. You can create additional meta fonts by calling the CreateMetaFont function in the User Interface Library. See the function panel for CreateMetaFont for more information on meta fonts.
Input | ||
Name | Type | Description |
fontName | const char [] | Pass the name of a typeface or metafont. |
Name | Type | Description | ||
result | integer | 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. |