# StampAnnotationProperties

## Content

[**DsPdfJS API v9.1.3**](../README)

***

[DsPdfJS API](../globals) / StampAnnotationProperties

# Type Alias: StampAnnotationProperties

> **StampAnnotationProperties** = [`MarkupAnnotationProperties`](MarkupAnnotationProperties) & `object`

Defines properties of a [StampAnnotation](../classes/StampAnnotation).

## Type Declaration

### borderWidth?

> `optional` **borderWidth**: `number`

The border width.

### font?

> `optional` **font**: [`Font`](../classes/Font)

A font to draw the stamp.
Note: This property is not persisted in the document and is used
when the annotation's appearance is generated.

### icon?

> `optional` **icon**: `string`

A string specifying the name of an icon used to display the annotation.
The PDF specification provides a predefined set of icons:
"Approved", "AsIs", "Confidential", "Departmental", "Draft", "Experimental", "Expired",
"Final", "ForComment", "ForPublicRelease", "NotApproved", "NotForPublicRelease", 
"Sold", "TopSecret".

In practice though this entry often contains names of custom icons specific to the application that created the document.

### showCreationDate?

> `optional` **showCreationDate**: `boolean`

A value indicating whether to show [MarkupAnnotation#creationDate](../classes/MarkupAnnotation#creationdate) on the stamp.
Note: This property is not persisted in the document and is used
when the annotation's appearance is generated.

### showUserName?

> `optional` **showUserName**: `boolean`

A value indicating whether to show [MarkupAnnotation#userName](../classes/MarkupAnnotation#username) on the stamp.
Note: This property is not persisted in the document and is used
when the annotation's appearance is generated.

### type

> **type**: `"stamp"`
