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


FlatBorders Class

Frameset Splitter Border Style.When the object is serialized out as xml, its qualified name is w:flatBorders.

Inheritance Hierarchy

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

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

Syntax

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

Remarks

[ISO/IEC 29500-1 1st Edition]

17.15.2.15 flatBorders (Frameset Splitter Border Style)

This element specifies the 3D style of the splitters within 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. When this property is turned on, the borders for this frameset shall be flat (not 3D), otherwise they can be presented as 3D splitter when they are displayed.

If this element is omitted, then the default style of the splitter should be a 3D splitter.

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

DocumentFormat.OpenXml.Wordprocessing.FlatBorders-

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:flatBorders w:val="true" />
</w:framesetSplitbar>
…
</w:frameset>

The flatBorders element's val attribute has a value of true, which specifies that the style of the splitters must be flat (the splitter might not be 3D when 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

FlatBorders Members

DocumentFormat.OpenXml.Wordprocessing Namespace