Share via


Table.TableDirection Property

Returns or sets the direction in which the table cells are ordered. Read/write.

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)

Syntax

'Declaration
Property TableDirection As PpDirection
    Get
    Set
'Usage
Dim instance As Table
Dim value As PpDirection

value = instance.TableDirection

instance.TableDirection = value
PpDirection TableDirection { get; set; }

Property Value

Type: Microsoft.Office.Interop.PowerPoint.PpDirection
PpDirection

Remarks

The default value of the TableDirection property is ppDirectionLefttToRight, unless the LanguageSettings property or the DefaultLanguageID property is set to a right-to-left language, in which case the default value is ppDirectionRightToLeft.

The value of the TableDirection property can be one of these PpDirection constants.

ppDirectionLeftToRight

ppDirectionMixed

ppDirectionRightToLeft

When you are using the TextDirection property, The ppDirectionMixed constant may be returned.

Examples

This example sets the direction in which cells in the selected table are ordered to left to right (first column is the leftmost column).

ActiveWindow.Selection.ShapeRange.Table.TableDirection= _

    ppDirectionLeftToRight

See Also

Reference

Table Interface

Table Members

Microsoft.Office.Interop.PowerPoint Namespace