---
layout: default-layout
needAutoGenerateSidebar: true
needGenerateH3Content: true
noTitleIndex: true
title: Dynamsoft Document Viewer API Reference - Interface TiffCustomTag
keywords: Documentation, Dynamsoft Document Viewer, API Reference, Interface TiffCustomTag
breadcrumbText: Interface TiffCustomTag
description: Dynamsoft Document Viewer Documentation API Reference Interface TiffCustomTag Page
permalink: /api/interface/idocument/tiffcustomtag.html
---

# TiffCustomTag

## Syntax

```typescript
interface TiffCustomTag {
    id?: number;
    content?: string;
    contentIsBase64?: boolean;
}
```

## Attributes

### id

The id of the custom tag.

### content

The content of the tag. 

### contentIsBase64

Whether the content is encoded by Base64. 

## Remark

The content of the tags can be plain text or a base64-encoded string. If it’s encoded, it’ll be decoded when generating the TIFF file.

## Related

- [`SaveTiffSettings`](https://www.dynamsoft.com/document-viewer/docs/api/interface/idocument/savetiffsettings.md)