DBmodifyStringSettings

Top  Previous  Next

String change.

The settings in a string, i.e. in a line train, can be changed with this routine individually or completely. The possible settings are the Flags, the sign key and the shading. The part in each case to be changed must be performed or the constant STRING_MODIFY_ALL be used. If a part is performed to change as, the data necessary moreover must be valid in the structure settings. This structure corresponds with DBreturnStringSettings used.

Parametre

string (PSTRING_SETTINGS) [IN]

The settings of the string with this trading should be changed.

modifyFlags (int) [IN]

Every bit of these variables stands for a setting in which changes should be made. All bits which are put are considered. If STRING_MODIFY_ALL is used, all settings are changed. Data of settings which should not be changed must not be valid.

settings (STRING_SETTINGS *) [IN]

This pointer points at a structure on which all values to be changed are put down. The structure is identical with the structure which is filled by DBreturnStringSettings.

grade (int) [IN]

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

Result

---

Declaration

#include "database.h"

 

void DLLENTRY DBmodifyStringSettings (

PSTRING_ELEMENT string,

int modifyFlags,

STRING_SETTINGS * settings,

int grades

);

Constants

#define STRING_MODIFY_FLAGS 1

#define STRING_MODIFY_ZEICHENSCHLUESSEL 2

#define STRING_MODIFY_SCHRAFFUR 4

#define STRING_MODIFY_COLORS 8

#define STRING_MODIFY_ALL 15

Related functions

DBmodifyObjectSettings

DBmodifyPlanSettings

DBmodifyPointSettings

DBmodifyPointElementSettings

DBmodifySegmentSettings

DBmodifySymbolSettings

DBmodifyTextSettings

DBmodifyTextString