2.9.327 ToggleOperand

The ToggleOperand structure is an operand to an SPRM whose spra is 0 and whose sgc is 2. It modifies a Boolean character property.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

value

value (1 byte): An unsigned integer which MUST be one of the following values.

Value

Meaning

0x00

The Boolean property is set to 0, which means the property is turned OFF.

0x01

The Boolean property is set to 1, which means the property is turned ON.

0x80

The Boolean property is set to match the value of the property in the current style that is applied to the text.

0x81

The Boolean property is set to the opposite of the value of the property in the current style that is applied to the text.