# Elementname: `Overlay`

## Description

Overlays the first element with the following »positions«.

Allowed attributes: (none)

Child elements: Barcode, Box, Circle, Frame, Image, Position, Rule, Switch, Table, Textblock, Transformation

Parent elements: Td

### Attributes

## Example

    <PlaceObject>
      <Table>
        <Tr>
          <Td>
            <Overlay>
              <Image width="5" height="4" file="_samplea.pdf"/>
              <Position x="0" y="0">
                <Box width="2" height="2" backgroundcolor="white"/>
              </Position>
              <Position x="0" y="0">
                <Barcode select="'speedata'" type="QRCode" width="2" height="2"/>
              </Position>
            </Overlay>
          </Td>
          <Td>
            <Image file="_sampleb.pdf" width="5" height="4" clip="no"/>
          </Td>
        </Tr>
      </Table>
    </PlaceObject>

which gives the following output

## See also

Position

# Commands

- A
- Action
- AtPageCreation
- AtPageShipout
- Attribute
- B
- Barcode
- Bold
- BoldItalic
- Bookmark
- Box
- Br
- Case
- Circle
- Color
- Column
- Columns
- Compatibility
- Contents
- Copy-of
- DefineColor
- DefineFontalias
- DefineFontfamily
- DefineTextformat
- Element
- Fontface
- ForAll
- Frame
- Grid
- Group
- Groupcontents
- HSpace
- Hyphenation
- I
- Image
- Include
- Initial
- InsertPages
- Italic
- Layout
- Li
- LoadDataset
- LoadFontfile
- Loop
- Makeindex
- Margin
- Mark
- Message
- NewPage
- NextFrame
- NextRow
- NoBreak
- Ol
- Options
- Otherwise
- Output
- Overlay
- PDFOptions
- Pageformat
- Pagetype
- Paragraph
- PlaceObject
- Position
- PositioningArea
- PositioningFrame
- ProcessNode
- Record
- Regular
- Rule
- SaveDataset
- SavePages
- SetGrid
- SetVariable
- SortSequence
- Stylesheet
- Sub
- Sup
- Switch
- Table
- Tablefoot
- Tablehead
- Tablerule
- Td
- Text
- Textblock
- Tr
- Trace
- Transformation
- U
- URL
- Ul
- Until
- VSpace
- Value
- While

Version: 3.0.1 | Start page | Command reference | Other language: German