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

# SavePngSettings

## Syntax

```typescript
interface SavePngSettings {
    saveAnnotation?: boolean; 
}
```

## Attributes

### saveAnnotation

Whether to save the annotation(s) as the part of image. Default vaule: `false`.

## Related

- [`saveToPng()`](https://www.dynamsoft.com/document-viewer/docs/api/interface/idocument/index.md#savetopng)