Tags with styling

Control the look and feel of individual tags

  • Include optional styling instructions for each tag to control its appearance.

  • If no styling is specified, the tag inherits the default formatting from the tag's text.

Reference: tags

Download: input.zip | output.pptx


{
  "presentation": {
    "template": "template.pptx",
    "slides": [
      {
        "slide_index": 0,
        "tags": [
          {
            "key": "tag1",
            "value": "Set your own styling",
            "font_type": "Forte",
            "font_size": 25,
            "font_color": "#FF0000"
          },
          {
            "key": "tag2",
            "value": "Override existing styling",
            "font_underline": false,
            "font_bold": false,
            "font_size": 40,
            "font_color": "yellow",
            "font_type": "Impact"
          },
          {
            "key": "tag3",
            "value": "How to use Tags in PowerPoint Generator API",
            "font_italic": true,
            "font_size": 20,
            "font_bold": true,
            "font_color": "#0070C0"
          },
          {
            "key": "ph1",
            "value": "first",
            "font_type": "Magneto",
            "font_size": 30.5,
            "font_underline": true
          },
          {
            "key": "ph2",
            "value": "second",
            "font_type": "Arial",
            "font_size": 8
          },
          {
            "key": "ph3",
            "value": "third",
            "font_type": "Times New Roman",
            "font_size": 15,
            "font_underline": true
          },
          {
            "key": "ph4",
            "value": "first",
            "font_size": 35,
            "font_italic": true
          },
          {
            "key": "ph5",
            "value": "second",
            "font_italic": true,
            "font_size": 20,
            "font_bold": true,
            "font_color": "39,186,166"
          },
          {
            "key": "ph6",
            "value": "third",
            "font_type": "Arial",
            "font_size": 15,
            "font_underline": true
          },
          {
            "key": "txt1",
            "value": "Rev",
            "font_type": "Magneto",
            "font_size": 30.5,
            "font_underline": true
          },
          {
            "key": "txt2",
            "value": "55",
            "font_italic": true,
            "font_size": 30,
            "font_bold": true,
            "font_color": "150,60,250"
          },
          {
            "key": "txt3",
            "value": "Iphone",
            "font_type": "Aptos",
            "font_size": 15,
            "font_underline": true
          }
        ]
      }
    ]
  }
}

Last updated

Was this helpful?