ZSK Web API

ZSK Web API

Line spacing

Line spacing

"LineSpacing"

This list contains the line spacing between each line.

This is an example if a text block of 3 text lines

Text Line 1

Line spacing

Text Line 2

Line spacing

Text Line 3

    "LineSpacing": [

      20.0,

      20.0

    ]

The position of the text block is defined in text line 1. ("XposMM": 0.0 "YposMM": 80.0)

Note:

  • The text alignment function requires at least two lines of text
  • The "XposMM" and "YposMM" values of the monogram objects are not used (except for the first text line, which defines the position of the text block)

  • The "LineSpacing" list needs the right number of values, otherwise it will be ignored. (number of text lines - 1)

Example

"Monograms": [
    {
      "Text": [
        "Text Line 1"
      ],
      "FontFamily": "Arial",
      "FontSizeMM": 10.0,
      "TextStyle": 0,
      "UsedNeedle": 1,
      "XposMM": 0.0,
      "YposMM": 80.0,
      "TextStitchParameter": "Premium",
    },