Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PowerPointTableFluent

OfficeIMO.PowerPoint

Namespace
OfficeIMO.PowerPoint
Assembly
OfficeIMO.PowerPoint
Modifiers
static

The fluent methods of PowerPointTable, generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.

Inheritance

  • object
  • PowerPointTableFluent

Methods

public static TSelf BandedColumns<TSelf>(TSelf powerPointTable, bool value = true) #

Sets PowerPointTable.BandedColumns: Enables or disables banded columns styling (bandCol attribute) on the table.

Type Parameters

TSelf

Parameters

powerPointTable TSelf required
The instance.
value bool = true optional
The value; true when omitted.

Returns

TSelf The same instance.

Examples

// C# initializer or property             // C# fluent
powerPointTable.BandedColumns = value;    powerPointTable.BandedColumns(value);
public static TSelf BandedRows<TSelf>(TSelf powerPointTable, bool value = true) #

Sets PowerPointTable.BandedRows: Enables or disables banded rows styling (bandRow attribute) on the table.

Type Parameters

TSelf

Parameters

powerPointTable TSelf required
The instance.
value bool = true optional
The value; true when omitted.

Returns

TSelf The same instance.

Examples

// C# initializer or property          // C# fluent
powerPointTable.BandedRows = value;    powerPointTable.BandedRows(value);
CellAlignment``1 2 overloads
public static TSelf CellAlignment<TSelf>(TSelf powerPointTable, PowerPointTextAlignment? horizontal, PowerPointTextVerticalAlignment? vertical) #

Sets cell alignment for all cells.

Type Parameters

TSelf

Parameters

powerPointTable TSelf required
The instance.
horizontal OfficeIMO.PowerPoint.PowerPointTextAlignment? required
The value.
vertical OfficeIMO.PowerPoint.PowerPointTextVerticalAlignment? required
The value.

Returns

TSelf The same instance.
public static TSelf CellAlignment<TSelf>(TSelf powerPointTable, PowerPointTextAlignment? horizontal, PowerPointTextVerticalAlignment? vertical, int startRow, int endRow, int startColumn, int endColumn) #

Sets cell alignment for a range of cells.

Type Parameters

TSelf

Parameters

powerPointTable TSelf required
The instance.
horizontal OfficeIMO.PowerPoint.PowerPointTextAlignment? required
The value.
vertical OfficeIMO.PowerPoint.PowerPointTextVerticalAlignment? required
The value.
startRow int required
The value.
endRow int required
The value.
startColumn int required
The value.
endColumn int required
The value.

Returns

TSelf The same instance.
public static TSelf CellBorders<TSelf>(TSelf powerPointTable, PowerPointTableCellBorders borders, OfficeColor color, OfficeLength? width = null, PowerPointLineDashStyle? dash = null) #

Applies borders to all cells, retaining the existing width or dash when omitted.

Type Parameters

TSelf

Parameters

powerPointTable TSelf required
The instance.
borders OfficeIMO.PowerPoint.PowerPointTableCellBorders required
The value.
color OfficeIMO.OfficeColor required
The value.
width OfficeIMO.OfficeLength? = null optional
The value.
dash OfficeIMO.PowerPoint.PowerPointLineDashStyle? = null optional
The value.

Returns

TSelf The same instance.
CellPadding``1 2 overloads
public static TSelf CellPadding<TSelf>(TSelf powerPointTable, OfficeLength? left, OfficeLength? top, OfficeLength? right, OfficeLength? bottom) #

Sets cell padding for all cells.

Type Parameters

TSelf

Parameters

powerPointTable TSelf required
The instance.
left OfficeIMO.OfficeLength? required
The value.
top OfficeIMO.OfficeLength? required
The value.
right OfficeIMO.OfficeLength? required
The value.
bottom OfficeIMO.OfficeLength? required
The value.

Returns

TSelf The same instance.
public static TSelf CellPadding<TSelf>(TSelf powerPointTable, OfficeLength? left, OfficeLength? top, OfficeLength? right, OfficeLength? bottom, int startRow, int endRow, int startColumn, int endColumn) #

Sets cell padding for a range of cells.

Type Parameters

TSelf

Parameters

powerPointTable TSelf required
The instance.
left OfficeIMO.OfficeLength? required
The value.
top OfficeIMO.OfficeLength? required
The value.
right OfficeIMO.OfficeLength? required
The value.
bottom OfficeIMO.OfficeLength? required
The value.
startRow int required
The value.
endRow int required
The value.
startColumn int required
The value.
endColumn int required
The value.

Returns

TSelf The same instance.
public static TSelf ColumnWidthsByRatio<TSelf>(TSelf powerPointTable, params double[] ratios) #

Sets column widths proportionally using ratios.

Type Parameters

TSelf

Parameters

powerPointTable TSelf required
The instance.
ratios double[] required
The value.

Returns

TSelf The same instance.
public static TSelf ColumnWidthsEvenly<TSelf>(TSelf powerPointTable) #

Sets column widths evenly across the table width.

Type Parameters

TSelf

Parameters

powerPointTable TSelf required
The instance.

Returns

TSelf The same instance.
public static TSelf ColumnWidths<TSelf>(TSelf powerPointTable, params OfficeLength[] widths) #

Sets physical sizes for the first rows or columns supplied.

Type Parameters

TSelf

Parameters

powerPointTable TSelf required
The instance.
widths OfficeIMO.OfficeLength[] required
The value.

Returns

TSelf The same instance.
public static TSelf FirstColumn<TSelf>(TSelf powerPointTable, bool value = true) #

Sets PowerPointTable.FirstColumn: Enables or disables first column styling on the table.

Type Parameters

TSelf

Parameters

powerPointTable TSelf required
The instance.
value bool = true optional
The value; true when omitted.

Returns

TSelf The same instance.

Examples

// C# initializer or property           // C# fluent
powerPointTable.FirstColumn = value;    powerPointTable.FirstColumn(value);
public static TSelf FirstRow<TSelf>(TSelf powerPointTable, bool value = true) #

Sets PowerPointTable.FirstRow: Enables or disables first row styling on the table.

Type Parameters

TSelf

Parameters

powerPointTable TSelf required
The instance.
value bool = true optional
The value; true when omitted.

Returns

TSelf The same instance.

Examples

// C# initializer or property        // C# fluent
powerPointTable.FirstRow = value;    powerPointTable.FirstRow(value);
public static TSelf HeaderRow<TSelf>(TSelf powerPointTable, bool value = true) #

Sets PowerPointTable.HeaderRow: Enables or disables header row styling (firstRow attribute) on the table.

Type Parameters

TSelf

Parameters

powerPointTable TSelf required
The instance.
value bool = true optional
The value; true when omitted.

Returns

TSelf The same instance.

Examples

// C# initializer or property         // C# fluent
powerPointTable.HeaderRow = value;    powerPointTable.HeaderRow(value);
public static TSelf LastColumn<TSelf>(TSelf powerPointTable, bool value = true) #

Sets PowerPointTable.LastColumn: Enables or disables last column styling on the table.

Type Parameters

TSelf

Parameters

powerPointTable TSelf required
The instance.
value bool = true optional
The value; true when omitted.

Returns

TSelf The same instance.

Examples

// C# initializer or property          // C# fluent
powerPointTable.LastColumn = value;    powerPointTable.LastColumn(value);
public static TSelf LastRow<TSelf>(TSelf powerPointTable, bool value = true) #

Sets PowerPointTable.LastRow: Enables or disables last row styling on the table.

Type Parameters

TSelf

Parameters

powerPointTable TSelf required
The instance.
value bool = true optional
The value; true when omitted.

Returns

TSelf The same instance.

Examples

// C# initializer or property       // C# fluent
powerPointTable.LastRow = value;    powerPointTable.LastRow(value);
public static TSelf RowHeightsByRatio<TSelf>(TSelf powerPointTable, params double[] ratios) #

Sets row heights proportionally using ratios.

Type Parameters

TSelf

Parameters

powerPointTable TSelf required
The instance.
ratios double[] required
The value.

Returns

TSelf The same instance.
public static TSelf RowHeightsEvenly<TSelf>(TSelf powerPointTable) #

Sets row heights evenly across the table height.

Type Parameters

TSelf

Parameters

powerPointTable TSelf required
The instance.

Returns

TSelf The same instance.
public static TSelf RowHeights<TSelf>(TSelf powerPointTable, params OfficeLength[] heights) #

Sets physical sizes for the first rows or columns supplied.

Type Parameters

TSelf

Parameters

powerPointTable TSelf required
The instance.
heights OfficeIMO.OfficeLength[] required
The value.

Returns

TSelf The same instance.
public static TSelf StyleId<TSelf>(TSelf powerPointTable, string? value) #

Sets PowerPointTable.StyleId: Gets or sets the table style ID GUID.

Type Parameters

TSelf

Parameters

powerPointTable TSelf required
The instance.
value string? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property       // C# fluent
powerPointTable.StyleId = value;    powerPointTable.StyleId(value);