Partager via


ParagraphIndexRange Class

Paragraph Text Range.When the object is serialized out as xml, its qualified name is p:pRg.

Inheritance Hierarchy

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

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

Syntax

'Declaration
Public Class ParagraphIndexRange _
    Inherits IndexRangeType
'Usage
Dim instance As ParagraphIndexRange
public class ParagraphIndexRange : IndexRangeType

Remarks

[ISO/IEC 29500-1 1st Edition]

19.5.56 pRg (Paragraph Text Range)

This element specifies a text range to animate based on starting and ending paragraph number.

[Example: Consider an animation entrance of the first 3 text paragraphs. The <pRg> element should be used as follows:

<p:animEffect transition="in" filter="checkerboard(across)">
  <p:cBhvr>
    <p:cTn id="12" dur="500"/>
    <p:tgtEl>
      <p:spTgt spid="3">
        <p:txEl>
          <p:pRg st="0" end="2"/>
        </p:txEl>
      </p:spTgt>
    </p:tgtEl>
  </p:cBhvr>
</p:animEffect>

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.

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

ParagraphIndexRange Members

DocumentFormat.OpenXml.Presentation Namespace