2.3.35 TypeCode

The TypeCode property specifies the type of value for a RichTextBox. If this property is specified, it MUST be part of the RichTextBox.ElementProperties record. If the TypeCode property is not specified, the default value is used.          

 TypeCode = typeCodeStart typeCodeValue


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

typeCodeStart

typeCodeValue

typeCodeStart (1 byte): A byte that specifies the start of the TypeCode property.<21> The value of the typeCodeStart field MUST be the following value.

Value

Parent

0x21

ElementProperties.InlineSharedElementProperties for RichTextBox.

ElementProperties.NonSharedElementProperties for RichTextBox.<22>

typeCodeValue (1 byte): A byte that specifies the type of value for the RichTextBox. The list of valid values MUST be obtained from the TypeCode enumeration. The default value is 0x11 (String). If a value that is not included in the enumeration is used, the value of the TypeCode enumeration is 0x11 (String).