---
title: "NewContentObject"
version: "0.9.0"
url: "https://docs.laminapdf.com/reference/sdk/interfaces/newcontentobject/"
---

# NewContentObject

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

What [DocumentContent.add](/reference/sdk/interfaces/documentcontent.md#add) puts on a page: its ID (1 to 64 ASCII letters, digits, `-`,
`_` or `.`, unique on the page), the object, the matrix that places it, and a PDF date for the
form's `/LastModified`.

## Since

0.7.0

## Properties

### alt?

```ts
readonly alt?: Alt;
```

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

***

### id

```ts
readonly id: string;
```

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

***

### layer?

```ts
readonly layer?: ContentLayer;
```

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

In front of the page's content when absent.

***

### matrix

```ts
readonly matrix: readonly [number, number, number, number, number, number];
```

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

***

### modified

```ts
readonly modified: string;
```

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

A PDF date, such as `"D:20261118120000Z"`.

***

### object

```ts
readonly object: ContentObjectSpec;
```

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

***

### opacity?

```ts
readonly opacity?: number;
```

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

From 0 to 1; opaque when absent.
