---
title: "ContentObjectSpec"
version: "0.9.0"
url: "https://docs.laminapdf.com/reference/sdk/type-aliases/contentobjectspec/"
---

# ContentObjectSpec

```ts
type ContentObjectSpec = ContentObjectSpecJs;
```

Defined in: [packages/sdk/src/types.ts:1993](https://github.com/laudebugs/laminapdf/blob/v0.9.0/packages/sdk/src/types.ts#L1993)

An object to add to a page as page content: `{ image: { blob, crop? } }` (a JPEG or PNG),
`{ shape: { path, fill?, stroke? } }` or `{ form: { blob, page } }` (a page of a PDF,
counted from 0). An image's `crop` is the part of its unit square that shows,
`[x0, y0, x1, y1]`.

## Since

0.7.0
