# Elementname: `Frame`

CSS name: frame

## Description

Manipulate an object's appearance by drawing a frame. Can be used as a clipping path.

Allowed attributes: backgroundcolor, border-bottom-left-radius, border-bottom-right-radius, border-top-left-radius, border-top-right-radius, class, framecolor, id, rulewidth

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

Parent elements: B, Case, Color, Fontface, ForAll, Frame, I, Li, Loop, NoBreak, Otherwise, Overlay, Paragraph, PlaceObject, Position, Span, Td, Transformation, U, URL, Until, While

### Attributes

backgroundcolor (text, optional)

  Color of the background if ›background‹ is set to ›full‹.

border-bottom-left-radius (length, optional, CSS property: border-bottom-left-radius)

  Radius of corner bottom left.

border-bottom-right-radius (length, optional, CSS property: border-bottom-right-radius)

  Radius of corner bottom right.

border-top-left-radius (length, optional, CSS property: border-top-left-radius)

  Radius of corner top left.

border-top-right-radius (length, optional, CSS property: border-top-right-radius)

  Radius of corner top right.

class (text, optional)

  CSS class for this element.

framecolor (text, optional)

  The color of the frame around the object. Only makes sense in combination with the attribute 'frame'.

id (text, optional)

  CSS id for this element.

rulewidth (length, optional)

  The thickness of the frame that is drawn around the object. Only makes sense in combination with the attribute 'frame'.

## Example

    <Record element="data">
      <PlaceObject>
        <Frame framecolor="red" border-bottom-left-radius="10pt">
          <Image width="20" file="_samplea.pdf"/>
        </Frame>
      </PlaceObject>
    </Record>

## See also

PlaceObject

# Commands

- A
- Action
- AddSearchpath
- AtPageCreation
- AtPageShipout
- AttachFile
- 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
- Span
- Stylesheet
- Sub
- Sup
- Switch
- Table
- Tablefoot
- Tablehead
- Tablerule
- Td
- Text
- Textblock
- Tr
- Trace
- Transformation
- U
- URL
- Ul
- Until
- VSpace
- Value
- While

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