|
MKI_DatabaseSave (Databases) Changed in Version 2019.0 |
www.CAD6.com |
C++ Syntaxbool MKI_DatabaseSave( __int32 DatabaseIndex, const LPCWSTR f_pszFileName, __int32 f_nFileType, bool f_fNoDialog );
Save the given database to either its original file or to another given file.
Not supported in CAD6starter!
ParametersDatabaseIndex [__int32] Index of the database that shall be saved. A value between MKI_BLOCK_INDEX and MKI_BLOCK_INDEX + MKI_DATABASE_INTERNAL_MAX - 1 indicates an internal database: MKI_BLOCK_INDEX refers to the drawing's default internal database (with empty name), MKI_BLOCK_INDEX + 1 through MKI_BLOCK_INDEX + MKI_DATABASE_INTERNAL_MAX - 1 refer to the other named internal database (with non-empty names). To access an external database, use value between 0 and MKI_DATABASE_MAX - 1. FileName [const LPCWSTR] Filename to which the database shall be written. If nullptr, the database will be written to its original location. FileType New in Version 6.60 [__int32] File format to be used. The following values are defined: MKI_DATABASETYPE_ANY Use the format that was detecting while opening or stated when creating the database. MKI_DATABASETYPE_CSV Use the comma-separated, text based format. MKI_DATABASETYPE_DBF Use the dBase binary format. NoDialog New in Version 2025.1 [bool] If true, no error messages and no progress dialog will be displayed.
Return ValueReturns true if successful, false if not.
|
CAD6interface 2026.0 - Copyright 2026 Malz++Kassner® GmbH