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

# NewBates

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

What [DocumentContent.applyBates](/reference/sdk/interfaces/documentcontent.md#applybates) puts on pages: the mark's ID, the number of the first
page, where the number sits, and a PDF date for the forms' `/LastModified`. Each page after
counts one more, in the order the pages were named. The number is zero-padded to `digits` (0 to
20; a longer number is not cut) between `prefix` and `suffix`.

## Since

0.7.0

## Properties

### color?

```ts
readonly color?: AnnotColor;
```

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

Black when absent.

***

### digits?

```ts
readonly digits?: number;
```

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

Zero-padding, 0 to 20; 6 when absent, 0 for none.

***

### fonts?

```ts
readonly fonts?: readonly string[];
```

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

***

### id

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

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

***

### margins?

```ts
readonly margins?: MarkMargins;
```

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

***

### modified

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

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

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

***

### prefix?

```ts
readonly prefix?: string;
```

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

***

### size?

```ts
readonly size?: number;
```

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

In points, from 1 to 500; 12 when absent.

***

### slot

```ts
readonly slot: Slot;
```

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

***

### start

```ts
readonly start: number;
```

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

***

### suffix?

```ts
readonly suffix?: string;
```

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