![]() |
MKI_DatabaseRowFind (Databases) Changed in Version 2019.1 |
www.CAD6.com |
C++ Syntax__int32 MKI_DatabaseRowFind( __int32 DatabaseIndex, __int32 ColumnIndex, LPCWSTR f_pszFindText, bool f_fPartial );
Finds a given text in the stated column of a database.
ParametersDatabaseIndex [__int32] Index of the database in which the text shall be found. 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. ColumnIndex [__int32] Index of the column in which the text shall be found. FindText Changed in Version 2019.1 [LPCWSTR] Address of the null-terminated text to be found. Partial [bool] If true, a partial, case-insensitive search will be performed. If false, an exact, case-sensitive search will be performed.
Return ValueReturns the index of the row that contains the text, otherwise a negative value is returned.
|
CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH