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.

Child elements

Contents

Parent elements

AtPageCreation, AtPageShipout, Contents, Function, Record

Attributes

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

Example

<Record match="data">
  <Slate name="sidebar">
    <!-- Optional, taken from the current page -->
    <Grid width="10mm" height="10mm"/>
    <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