Поделиться через


NoBorder Class

Do Not Display Frameset Splitters.When the object is serialized out as xml, its qualified name is w:noBorder.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Wordprocessing.OnOffOnlyType
        DocumentFormat.OpenXml.Wordprocessing.NoBorder

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

Syntax

'Declaration
Public Class NoBorder _
    Inherits OnOffOnlyType
'Usage
Dim instance As NoBorder
public class NoBorder : OnOffOnlyType

Remarks

[ISO/IEC 29500-1 1st Edition]

17.15.2.31 noBorder (Do Not Display Frameset Splitters)

This element specifies whether the splitters shall be displayed for the contents of the frameset in this WordprocessingML document. This element shall only be honored on the root frameset for this document, and can be ignored for all nested framesets in this document. If this element is present, then no splitters shall be displayed, and all other frameset splitter properties can be ignored.

If this element is omitted, then the splitters in this document shall be displayed as defined by the w and color elements.

[Example: Consider a frameset consisting of the following three frames:

DocumentFormat.OpenXml.Wordprocessing.NoBorder-ima

The following properties define the presentation of the splitter bars within this frameset:

<w:frameset>
<w:framesetSplitbar>
<w:w w:val="200" />
<w:color w:val="0000FF" />
</w:framesetSplitbar>
…
</w:frameset>

If the noBorder element is also specified:

<w:frameset>
<w:framesetSplitbar>
<w:w w:val="200" />
<w:color w:val="0000FF" />
<w:noBorder w:val="true" />
</w:framesetSplitbar>
…
</w:frameset>

Then all frameset splitters are suppressed:

DocumentFormat.OpenXml.Wordprocessing.NoBorder-ima

The noBorder element's val attribute has a value of true, which specifies that the splitters for this document must not be displayed. end example]

Parent Elements

framesetSplitbar (§17.15.2.20)

This element’s content model is defined by the common boolean property definition in §17.17.4.

© 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

NoBorder Members

DocumentFormat.OpenXml.Wordprocessing Namespace