Version 5.9.3

# `AtPageCreation`

The contents of the element `AtPageCreation` is executed the first time the page is accessed. This is used in `Pagetype`.

## Child elements

`AddSearchpath`, `AttachFile`, `Bookmark`, `ClearPage`, `Copy-of`, `DefineColor`, `DefineFontalias`, `DefineFontfamily`, `DefineMatter`, `DefineTextformat`, `ForAll`, `Group`, `Hyphenation`, `Include`, `InsertPages`, `Layout`, `LoadDataset`, `LoadFontfile`, `Loop`, `Message`, `NextFrame`, `NextRow`, `Options`, `Output`, `PDFOptions`, `Pageformat`, `Pagetype`, `PlaceObject`, `ProcessNode`, `SaveDataset`, `SavePages`, `Section`, `SetGrid`, `SetVariable`, `SortSequence`, `StructureElement`, `Switch`, `Until`, `Value`, `While`

## Parent elements

`Pagetype`

## Attributes

`graphic` (text, optional, since version 4.3.14)
  The name of a metapost graphic.

## Example

    <AtPageCreation>
      <PlaceObject column="1" row="1">
        <Textblock>
          <Paragraph>
            <Value select="$pageheader"/>
          </Paragraph>
        </Textblock>
      </PlaceObject>
    </AtPageCreation>

#### On this page