Table of Contents

Class WP

Namespace
DocumentFormat.OpenXml.Linq
Assembly
DocumentFormat.OpenXml.Linq.dll

Declares XNamespace and XName fields for the xmlns:wp="http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing" namespace.

public static class WP
Inheritance
WP
Inherited Members

Fields

align

Represents the wp:align XML elements.

public static readonly XName align

Field Value

XName

Remarks

As an XML element, it:

  • has the following parent XML elements: positionH, positionV.
  • corresponds to the following strongly-typed classes: HorizontalAlignment, VerticalAlignment.

anchor

Represents the wp:anchor XML element.

public static readonly XName anchor

Field Value

XName

Remarks

As an XML element, it:

cNvGraphicFramePr

Represents the wp:cNvGraphicFramePr XML element.

public static readonly XName cNvGraphicFramePr

Field Value

XName

Remarks

As an XML element, it:

  • has the following parent XML elements: anchor, inline.
  • has the following child XML elements: extLst, graphicFrameLocks.
  • corresponds to the following strongly-typed classes: NonVisualGraphicFrameDrawingProperties.

docPr

Represents the wp:docPr XML element.

public static readonly XName docPr

Field Value

XName

Remarks

As an XML element, it:

effectExtent

Represents the wp:effectExtent XML element.

public static readonly XName effectExtent

Field Value

XName

Remarks

As an XML element, it:

extent

Represents the wp:extent XML element.

public static readonly XName extent

Field Value

XName

Remarks

As an XML element, it:

  • has the following parent XML elements: anchor, inline.
  • has the following XML attributes: cx, cy.
  • corresponds to the following strongly-typed classes: Extent.

inline

Represents the wp:inline XML element.

public static readonly XName inline

Field Value

XName

Remarks

As an XML element, it:

lineTo

Represents the wp:lineTo XML element.

public static readonly XName lineTo

Field Value

XName

Remarks

As an XML element, it:

  • has the following parent XML elements: wrapPolygon.
  • has the following XML attributes: x, y.
  • corresponds to the following strongly-typed classes: LineTo.

posOffset

Represents the wp:posOffset XML element.

public static readonly XName posOffset

Field Value

XName

Remarks

As an XML element, it:

  • has the following parent XML elements: positionH, positionV.
  • corresponds to the following strongly-typed classes: PositionOffset.

positionH

Represents the wp:positionH XML element.

public static readonly XName positionH

Field Value

XName

Remarks

As an XML element, it:

  • has the following parent XML elements: anchor.
  • has the following child XML elements: align, posOffset, pctPosHOffset.
  • has the following XML attributes: relativeFrom.
  • corresponds to the following strongly-typed classes: HorizontalPosition.

positionV

Represents the wp:positionV XML element.

public static readonly XName positionV

Field Value

XName

Remarks

As an XML element, it:

  • has the following parent XML elements: anchor.
  • has the following child XML elements: align, posOffset, pctPosVOffset.
  • has the following XML attributes: relativeFrom.
  • corresponds to the following strongly-typed classes: VerticalPosition.

simplePos

Represents the wp:simplePos XML element.

public static readonly XName simplePos

Field Value

XName

Remarks

As an XML element, it:

  • has the following parent XML elements: anchor.
  • has the following XML attributes: x, y.
  • corresponds to the following strongly-typed classes: SimplePosition.

start

Represents the wp:start XML element.

public static readonly XName start

Field Value

XName

Remarks

As an XML element, it:

  • has the following parent XML elements: wrapPolygon.
  • has the following XML attributes: x, y.
  • corresponds to the following strongly-typed classes: StartPoint.

wp

Defines the XML namespace associated with the wp prefix.

public static readonly XNamespace wp

Field Value

XNamespace

wrapNone

Represents the wp:wrapNone XML element.

public static readonly XName wrapNone

Field Value

XName

Remarks

As an XML element, it:

  • has the following parent XML elements: anchor.
  • corresponds to the following strongly-typed classes: WrapNone.

wrapPolygon

Represents the wp:wrapPolygon XML element.

public static readonly XName wrapPolygon

Field Value

XName

Remarks

As an XML element, it:

  • has the following parent XML elements: wrapThrough, wrapTight.
  • has the following child XML elements: lineTo, start.
  • has the following XML attributes: edited.
  • corresponds to the following strongly-typed classes: WrapPolygon.

wrapSquare

Represents the wp:wrapSquare XML element.

public static readonly XName wrapSquare

Field Value

XName

Remarks

As an XML element, it:

  • has the following parent XML elements: anchor.
  • has the following child XML elements: effectExtent.
  • has the following XML attributes: distB, distL, distR, distT, wrapText.
  • corresponds to the following strongly-typed classes: WrapSquare.

wrapThrough

Represents the wp:wrapThrough XML element.

public static readonly XName wrapThrough

Field Value

XName

Remarks

As an XML element, it:

  • has the following parent XML elements: anchor.
  • has the following child XML elements: wrapPolygon.
  • has the following XML attributes: distL, distR, wrapText.
  • corresponds to the following strongly-typed classes: WrapThrough.

wrapTight

Represents the wp:wrapTight XML element.

public static readonly XName wrapTight

Field Value

XName

Remarks

As an XML element, it:

  • has the following parent XML elements: anchor.
  • has the following child XML elements: wrapPolygon.
  • has the following XML attributes: distL, distR, wrapText.
  • corresponds to the following strongly-typed classes: WrapTight.

wrapTopAndBottom

Represents the wp:wrapTopAndBottom XML element.

public static readonly XName wrapTopAndBottom

Field Value

XName

Remarks

As an XML element, it:

  • has the following parent XML elements: anchor.
  • has the following child XML elements: effectExtent.
  • has the following XML attributes: distB, distT.
  • corresponds to the following strongly-typed classes: WrapTopBottom.