# documentTemplateComponent

**Scope required:** standard:read

For a complete list of possible response fields see the [DocumentTemplateComponent](https://docs.bunny.com/developer/api-reference/types/documenttemplatecomponent) type.

```graphql
query documentTemplateComponent ($id: ID, $code: String, $format: String) {
  documentTemplateComponent (id: $id, code: $code, format: $format) {
    alignment
    background
    color
    content
    createdAt
    documentTemplateId
    font
    fontSize
    fontWeight
    height
    id
    imageScale
    imageSignedId
    imageUrl
    lineSpacing
    marginBottom
    marginLeft
    marginRight
    marginTop
    paddingBottom
    paddingLeft
    paddingRight
    paddingTop
    position
    skipPages
    twoColumns
    updatedAt
    width
  }
}
```

## Arguments

| Name   | Type   | Description |
| ------ | ------ | ----------- |
| id     | ID     |             |
| code   | String |             |
| format | String |             |

## Response

* [DocumentTemplateComponent](https://docs.bunny.com/developer/api-reference/types/documenttemplatecomponent)
