PowerPoint Generator API
  • PowerPoint Generator API
  • Getting started
    • Quick start
  • API reference
    • token/create
    • generator/create
  • Knowledge base
    • Key concepts
    • Templating your presentation
    • Building your JSON payload
    • Finding shape names
  • JSON/ PPTX Reference
    • presentation
    • slides
    • shapes
      • textbox
      • chart
      • picture
      • table
    • tags
    • Deprecated
  • Examples
    • Presentation
      • Naming output presentation
      • Using multiple templates
    • Slide
      • Change shape size and position
      • Change shape background color
      • Hide or remove shape
      • Replacing tags
    • Textboxes
      • Add text
      • Set font type and size
      • Set font color and font background color
      • Set bold, italic & underline
      • Set text alignment
      • Set text indentation
      • Set text line spacing
      • Using bullet-points
    • Chart
      • Change font settings
      • Insert data
      • Adjust chart legend
      • Appending to data labels
    • Pictures
    • Table
      • Populate simple table
      • Using `text_runs` in Table cells
      • Handling merged cells
      • Update a specific cells in existing table
    • Tags
Powered by GitBook
On this page

Was this helpful?

  1. JSON/ PPTX Reference

tags

Hierarchy: presentation > slides

The tags object is used to located text within double curly brackets {{key}} on a slide level and replace with the provided value.

Parameter
Type
Input
Description

key

String

[required] Text to be replaced.

value

String

[required] Text replacing key string

font_type

String

[optional] Set font style. If not provided font type will be inherited.

font_size

Integer

[optional] Set font size. If not provided font size will be inherited.

font_color

String

RGB(0,0,0),

[optional] Set font color. If not provided font color will be inherited.

font_underline

Boolean

[optional] Set font underline. If not provided font underline will be inherited.

font_bold

Boolean

[optional] Set font bold. If not provided font bold will be inherited.

font_italic

Boolean

[optional] Set font italic. If not provided font italic will be inherited.

JSON payload

"tags": [
  {
    "key": "<string>",
    "value": "<string>"
    "font_type": "<string>",
    "font_size": numeric,
    "font_color": "<string>",
    "font_underline": boolean,
    "font_bold": boolean,
    "font_italic": boolean
  },
  {
    "key": "<string>",
    "value": "<string>"
    "font_type": "<string>",
    "font_size": numeric,
    "font_color": "<string>",
    "font_underline": boolean,
    "font_bold": boolean,
    "font_italic": boolean
  }
]

PrevioustableNextDeprecated

Last updated 1 year ago

Was this helpful?

MS supported

,

font names
Color name
Hex