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


TableProperties.RightToLeft Property

Right-to-Left.Represents the attribte in schema: rtl

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

Syntax

'Declaration
<SchemaAttrAttribute(, "rtl")> _
Public Property RightToLeft As BooleanValue
    Get
    Set
'Usage
Dim instance As TableProperties
Dim value As BooleanValue

value = instance.RightToLeft

instance.RightToLeft = value
[SchemaAttrAttribute(, "rtl")]
public BooleanValue RightToLeft { get; set; }

Property Value

Type: DocumentFormat.OpenXml.BooleanValue
Returns BooleanValue.

Remarks

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

Defines and enables the right-to-left settings of a table. If the value of rtl is on, 1 or true, then the table will be laid out from the right-to-left rather than the default left-to-right.

Consider the following run:

<a:tblPr rtl="1">
  <a:tableStyleId>{5940675A-B579-460E-94D1-
  54222C63F5DA}</a:tableStyleId>
</a:tblPr>

In this example, we can see that the table is to be created in a right-to-left direction.

The possible values for this attribute are defined by the XML Schema boolean datatype.

See Also

Reference

TableProperties Class

TableProperties Members

DocumentFormat.OpenXml.Drawing Namespace