MKI_FontAdd (Font) New in Version 2025.1

www.CAD6.com

C++ Syntax

bool

MKI_FontAdd(

 const LPCWSTR f_pszFileName,

 bool f_fNoDialog );

 

Adds an existing library file as a font to the list of loaded fonts.

 

Please read the "Font Libraries" section in the comments of Library Files on the requirements for libraries to be used as a font.

 

Parameters

FileName

[const LPCWSTR] The existing library's file name.

NoDialog

[bool] If true, no error messages and no progress dialog will be displayed.

 

Return Value

Returns true if successful. If false is returned, the list was full, the library collided with a font already in the list (same file name or same title), or the given library file was invalid in any way.

 

CAD6interface 2026.0 - Copyright 2026 Malz++Kassner® GmbH