JSON API - createTableStyle

createTableStyle

PREMIUM TRIAL / ADVANCED

Creates a table style in the PowerPoint presentation.

Note

You are reading the JSON API documentation. For the PHP API method please go to createTableStyle.

JSON data
Key Description
name Table style name.
backgroundColor HEX color.
bold
border

Available positions:

  • top
  • right
  • bottom
  • left
  • insideH
  • insideV

Available styles:

  • "dash" solid, dot, dash, lgDash, dashDot, lgDashDot, lgDashDotDot, sysDash, sysDot, sysDashDot, sysDashDotDot
  • "color" default as 000000. none to avoid adding the color
  • "width" EMUs (English Metric Unit). Default as 12700 (1pt)
italic

Available types:

  • wholeTbl : whole table
  • band1H : band 1 horizontal
  • band2H : band 2 horizontal
  • band1V : band 1 vertical
  • band2V : band 2 vertical
  • lastCol : last column
  • firstCol : first column
  • lastRow : last row
  • firstRow : first row
  • neCell : northeast cell
  • seCell : southeast cell
  • swCell : southwest cell
  • nwCell : northwest cell
Code samples

Example #1

Release notes
  • phppptx 5.0:
    • new action.