Skip to main content

Edit Label

Purpose

Adds or edits several label settings to an existing label element.

Example

edit-label --elementName title --font OpenSans --fontStyle bold --size 20 --alignment center

Command Syntax

ParameterFormatRequirementUsage
--elementNameStringMandatoryThe unique name of the element. Alphanumeric and - only.
--fontStringMandatoryThe name of the ttf file. OpenSans is always available on the terminal. Other fonts can be added as Assets.
--sizeIntegerMandatorySize of the font
--fontStyleStringMandatoryStyling of the font. Possible values are:
CLI Tool naming (JSON naming)
  • italic (ITALIC)
  • bold (BOLD)
  • normal (NORMAL)
--alignmentStringMandatoryAlingment of the font. Possible values are:
CLI Tool naming (JSON naming)
  • left (LEFT)
  • center (CENTER)
  • right (RIGHT)