FrameLayout.Val Property

Frameset Layout Value.Represents the attribte in schema: w:val

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

Syntax

'Declaration
<SchemaAttrAttribute(, "val")> _
Public Property Val As EnumValue(Of FrameLayoutValues)
    Get
    Set
'Usage
Dim instance As FrameLayout
Dim value As EnumValue(Of FrameLayoutValues)

value = instance.Val

instance.Val = value
[SchemaAttrAttribute(, "val")]
public EnumValue<FrameLayoutValues> Val { get; set; }

Property Value

Type: DocumentFormat.OpenXml.EnumValue<FrameLayoutValues>
Returns EnumValue<T>.

Remarks

The following information from the ECMA International Standard ECMA-376 can be useful when working with this class.

Specifies the type of layout which shall be used to display the contents of the frames and nested framesets within this frameset, as defined by the simple type referenced below.

Consider a frameset definition within a WordprocessingML document which defines the following frameset layout setting:

<w:frame>
  <w:frameLayout w:val="cols" />
  …
</w:frame>

The val attribute value of cols specifies that the contents of this frameset shall be stacked horizontally (in columns).

The possible values for this attribute are defined by the ST_FrameLayout simple type.

See Also

Reference

FrameLayout Class

FrameLayout Members

DocumentFormat.OpenXml.Wordprocessing Namespace