Table.ApplyStyle Method
Applies a table style to the specified table.
Namespace: Microsoft.Office.Interop.PowerPoint
Assembly: Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)
Syntax
'Declaration
Sub ApplyStyle ( _
StyleID As String, _
SaveFormatting As Boolean _
)
'Usage
Dim instance As Table
Dim StyleID As String
Dim SaveFormatting As Boolean
instance.ApplyStyle(StyleID, SaveFormatting)
void ApplyStyle(
string StyleID,
bool SaveFormatting
)
Parameters
- StyleID
Type: System.String
The identifier of the table style to apply.
- SaveFormatting
Type: System.Boolean
true preserves table formatting.