TextBodyProperties Class

Defines the TextBodyProperties Class.This class is only available in Office2010.When the object is serialized out as xml, its qualified name is wps:bodyPr.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Office2010.Word.DrawingShape.TextBodyProperties

Namespace:  DocumentFormat.OpenXml.Office2010.Word.DrawingShape
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(Scene3DType))> _
<ChildElementInfoAttribute(GetType(NoAutoFit))> _
<ChildElementInfoAttribute(GetType(NormalAutoFit))> _
<ChildElementInfoAttribute(GetType(ShapeAutoFit))> _
<ChildElementInfoAttribute(GetType(PresetTextWrap))> _
<ChildElementInfoAttribute(GetType(Shape3DType))> _
<ChildElementInfoAttribute(GetType(FlatText))> _
<ChildElementInfoAttribute(GetType(ExtensionList))> _
<OfficeAvailabilityAttribute(FileFormatVersions.Office2010)> _
Public Class TextBodyProperties _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As TextBodyProperties
[ChildElementInfoAttribute(typeof(Scene3DType))]
[ChildElementInfoAttribute(typeof(NoAutoFit))]
[ChildElementInfoAttribute(typeof(NormalAutoFit))]
[ChildElementInfoAttribute(typeof(ShapeAutoFit))]
[ChildElementInfoAttribute(typeof(PresetTextWrap))]
[ChildElementInfoAttribute(typeof(Shape3DType))]
[ChildElementInfoAttribute(typeof(FlatText))]
[ChildElementInfoAttribute(typeof(ExtensionList))]
[OfficeAvailabilityAttribute(FileFormatVersions.Office2010)]
public class TextBodyProperties : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • DocumentFormat.OpenXml.Drawing.PresetTextWrap <a:prstTxWarp>

  • DocumentFormat.OpenXml.Drawing.NoAutoFit <a:noAutofit>

  • DocumentFormat.OpenXml.Drawing.NormalAutoFit <a:normAutofit>

  • DocumentFormat.OpenXml.Drawing.ShapeAutoFit <a:spAutoFit>

  • DocumentFormat.OpenXml.Drawing.Scene3DType <a:scene3d>

  • DocumentFormat.OpenXml.Drawing.Shape3DType <a:sp3d>

  • DocumentFormat.OpenXml.Drawing.FlatText <a:flatTx>

  • DocumentFormat.OpenXml.Drawing.ExtensionList <a:extLst>

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

TextBodyProperties Members

DocumentFormat.OpenXml.Office2010.Word.DrawingShape Namespace