Click or drag to resize

mxUtilsSetStyleFlag Method

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Sets or removes the given key from the specified style and returns the new style. If value is null then the flag is toggled.

Namespace:  imbSCI.Graph.MXGraph.utils
Assembly:  imbSCI.Graph (in imbSCI.Graph.dll) Version: 0.3.70.
Syntax
C#
public static string SetStyleFlag(
	string style,
	string key,
	int flag,
	Nullable<bool> value
)
Request Example View Source

Parameters

style
Type: SystemString
String of the form stylename[;key=value].
key
Type: SystemString
Key of the style to be changed.
flag
Type: SystemInt32
Integer for the bit to be changed.
value
Type: SystemNullableBoolean
Optional boolean value for the given flag.

Return Value

Type: String
Returns the new style.
See Also