Share via


WrapNone Class

No Text Wrapping.When the object is serialized out as xml, its qualified name is wp:wrapNone.

Inheritance Hierarchy

System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlLeafElement
DocumentFormat.OpenXml.Drawing.Wordprocessing.WrapNone

Namespace: DocumentFormat.OpenXml.Drawing.Wordprocessing
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'宣言
Public Class WrapNone _
    Inherits OpenXmlLeafElement
'使用
Dim instance As WrapNone
public class WrapNone : OpenXmlLeafElement

Remarks

[ISO/IEC 29500-1 初版]

20.4.2.15 wrapNone (No Text Wrapping)

This element specifies that the parent DrawingML object shall not cause any text wrapping within the contents of the host WordprocessingML document based on its display location. In effect, this setting shall place the object in one of two locations:

  • If the behindDoc attribute on the parent element is true, then the object shall be positioned behind the text as it is normally displayed.

  • If the behindDoc attribute on the parent element is false, then the object shall be positioned in front of the text as it is normally displayed.

[Example: Consider a DrawingML picture which must be displayed in front of any text on the page. This object would be specified as follows:

<wp:anchor relativeHeight="10" behindDoc="false">
…
<wp:wrapNone/>
</wp:anchor>

The wrapNone element specifies that the DrawingML object must not cause any text wrapping, and since the behindDoc attribute is false, the object must be displayed in front of the text of the document. end example]

Parent Elements

anchor (§20.4.2.3)

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

© ISO/IEC29500: 2008. 上記の引用はマイクロソフト (またはその代理) によって英語から日本語に翻訳されたものであり、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

WrapNone Members

DocumentFormat.OpenXml.Drawing.Wordprocessing Namespace