Skip to content

Slate

Create a virtual page (a slate) that behaves like a real page but is not placed into the PDF. Think of it as a magic slate — you draw on it, inspect the result, and then place it on the page.

The slate starts with a copy of the page grid. With a Grid child element the slate can use its own grid independent of the page.

As on a page, the objects in a slate are drawn in the order they are placed: an object placed later lies over one placed earlier, unless it is placed with layer="behind".

Child elements

Contents, Grid

Parent elements

AtPageCreation, AtPageShipout, Contents, Function, Record, Template

Attributes

name (text)
Name of the slate that is created.

Example

<Record match="data">
  <Slate name="sidebar">
    <Contents>
      <PlaceObject column="3" row="2">
        <TextBlock width="14">
          <Paragraph>
            <Value>Text</Value>
          </Paragraph>
        </TextBlock>
      </PlaceObject>
      <PlaceObject column="2" row="4">
        <TextBlock width="14">
          <Paragraph>
            <Value>Next text</Value>
          </Paragraph>
        </TextBlock>
      </PlaceObject>
    </Contents>
  </Slate>
  <PlaceObject slate="sidebar" row="1" />
</Record>

See also