cp Element

Marks the beginning of a character properties run that is formatted according to the corresponding Char element. The run is defined to the end of the text or until the next tag.

Syntax

<cp>

Attributes

IX

Required int. The Char element index that this property run represents.

Element properties

Property

Value

Name

cp

Minimum Occurrences

0

Maximum Occurrences

Unbounded

Element information

Parent elements

Text

Child elements

None

Example

In the following example, the code excerpts result in the following text appearing in the shape:

This character run is formatted as 10 point bold text, whilethis character run is formatted as 12 point italic text.