DBgdvReturnLayer |
Top Previous Next |
Gets the qualities of a plan from the plan management In the plan management the co-ordinates of the left lower corner, the co-ordinates of the right upper corner, plan type, plan name, PlanID and level are stored to every plan. These values stand also in the plan itself. To find this and if necessary to compare the values, or to put on anew the plan, the values can be got from the data bank. It is only necessary to the fact, that the plan management with DBgdvOpen was opened and the Layer is known. Then DBgdvReturnLayer determines all the other values and writes them in the Record settings. Parametre root (PROOT) [IN] Act on the open data bank. layer (int) [IN] The level whose values are questioned. settings (GDV_LAYER_SETTINGS *) [IN / OUT] settings points at a record in which the settings zurückgeliefert become. grade (int) [IN] grade must be always put on 1. Grades the choice can be distinguished for later advancements. gdvName (const char *) [IN] The name of the plan management. If is gdvName = ZERO, the open plan management is used. Result (T_ERROR) [OUT] If the function ran successfully, the function ERROR_OK delivers back. Otherwise a mistake code from error.h Declaration #include "database.h"
T_ERROR DLLENTRY DBgdvReturnLayer ( PROOT root, int layer, GDV_LAYER_SETTINGS * settings, int grades, const char * gdvName ); Related functions A plan from the open plan management remove. The name of the plan management. If is gdvName = ZERO, the open plan management is used. T_ERROR DLLENTRY DBgdvDeletePlan (
|