CharRange Class

Character Range.When the object is serialized out as xml, its qualified name is p:charRg.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Presentation.IndexRangeType
        DocumentFormat.OpenXml.Presentation.CharRange

Namespace:  DocumentFormat.OpenXml.Presentation
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

声明
Public Class CharRange _
    Inherits IndexRangeType
用法
Dim instance As CharRange
public class CharRange : IndexRangeType

Remarks

[ISO/IEC 29500-1 第 1 个版本]

19.5.23 charRg (Character Range)

This element specifies animation on a character range defined by a start and end character position.

[Example: Consider animating the first word (characters 1 through 9) within a sentence. The <charRg> element should be used as follows:

<p:animMotion>
  <p:cBhvr>
    <p:cTn id="6" dur="2000" fill="hold"/>
    <p:tgtEl>
      <p:spTgt spid="3">
        <p:txEl>
          <p:charRg st="0" end="9"/>
        </p:txEl>
      </p:spTgt>
    </p:tgtEl>
    <p:attrNameLst>
      <p:attrName>ppt_x</p:attrName>
      <p:attrName>ppt_y</p:attrName>
    </p:attrNameLst>
  </p:cBhvr>
</p:animMotion>

end example]

Parent Elements

txEl (§19.5.91)

Attributes

Description

end (End)

This attribute defines the end of the index range.

The possible values for this attribute are defined by the ST_Index simple type (§19.7.3).

st (Start)

This attribute defines the start of the index range.

The possible values for this attribute are defined by the ST_Index simple type (§19.7.3).

[Note: The W3C XML Schema definition of this element's content model (CT_IndexRange) is located in §A.3. end note]

© ISO/IEC29500: 2008. 以上摘要已经由 Microsoft(和/或其代理公司)从英语翻译为简体中文,ISO 对此翻译不承担任何责任。

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

CharRange Members

DocumentFormat.OpenXml.Presentation Namespace