<cp> element

<cp> element

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

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 <cp> tag.

Syntax

  <cp 
      IX = "intvalue"
  />

Attributes

IX

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

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, while this character run is formatted as 12 point italic text.

  <Shape ID="1" NameU="Rectangle" Type="Shape" Master="0">
<Char IX="0">
<Style>1</Style>
<Size Unit="PT">0.13888888888889</Size>
</Char>
<Char IX="1">
<Style>2</Style>
<Size Unit="PT">0.16666666666667</Size>
</Char>
<Text><cp IX="0"/><pp IX="0"/><tp IX="0"/>This character run is formatted as 10 point bold text, while<cp IX="1"/> this character run is formatted as 12 point italic text.</Text>
</Shape>