DBmodifyRasterSettings

Top  Previous  Next

Change of the grid settings.

With this function the settings to a loaded grid can be changed. It can be changed the colour table and the Userdata.

Parametre

raster (PRASTER_ELEMENT) [IN]

Act on the grid to be changed

modifyFlags (int) [IN]

Constants give the values to be changed. If contain the settings settings which are not given with these constants, they are also not taken over.

settings (RASTER_SETTINGS *) [IN / OUT]

In settings the settings which should be also changed must be carried out. The values in settings are not checked on her validity. All values from settings which are given by the Flags in modifyFlags are taken over.

grade (int) [IN]

aloofly, must be 1. If further information is introduced, these become grades distinguished.

Result

---

Declaration

#include "database.h"

 

void DLLENTRY DBmodifyRasterSettings (

PRASTER_ELEMENT raster,

int modifyFlags,

RASTER_SETTINGS * settings,

int grades

);

Constants

RASTER_MODIFY_COLORTABLE 1

RASTER_MODIFY_USERDATA 2

RASTER_MODIFY_FLAGS 4

RASTER_MODIFY_ALL 7

Related functions

DBmodifyObjectSettings

DBmodifyPlanSettings

DBmodifyPointSettings

DBmodifyPointElementSettings

DBmodifySegmentSettings

DBmodifyStringSettings

DBmodifySymbolSettings

DBmodifyTextSettings

DBmodifyTextString