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

# Interface

```typescript
interface AnnotationDrawingStyleConfig {
    rectangle?: RectangleStyle;
    ellipse?: EllipseStyle;
    polygon?: PolygonStyle;
    polyline?: PolylineStyle;
    line?: LineStyle;
    ink?: InkStyle;
    textBox?: TextBoxStyle;
    textTypewriter?: TextTypewriterStyle;
    stamp?: StampStyle;
    highlight?: HighlightStyle;
    underline?: UnderlineStyle;
    strikeout?: StrikeoutStyle;
    redaction?: RedactionStyle;
}
```

## Attributes

### rectangle

The default drawing style of rectangle annotation - see [`RectangleStyle`](https://www.dynamsoft.com/document-viewer/docs/api/interface/annotationinterface/rectanglestyle.md) for more details. If not set, this uses the default values of `RectangleStyle`.

### ellipse

The default drawing style of ellipse annotation - see [`EllipseStyle`](https://www.dynamsoft.com/document-viewer/docs/api/interface/annotationinterface/ellipsestyle.md) for more details. If not set, this uses the default values of `EllipseStyle`.

### polygon

The default drawing style of the polygon annotation - see [`PolygonStyle`](https://www.dynamsoft.com/document-viewer/docs/api/interface/annotationinterface/polygonstyle.md) for more details. If not set, this uses the default values of `PolygonStyle`.

### polyline

The default drawing style of the polyline annotation - see [`PolylineStyle`](https://www.dynamsoft.com/document-viewer/docs/api/interface/annotationinterface/polylinestyle.md) for more details. If not set, this uses the default values of `PolylineStyle`.

### line

The default drawing style of the line annotation - see [`LineStyle`](https://www.dynamsoft.com/document-viewer/docs/api/interface/annotationinterface/linestyle.md) for more details. If not set, this uses the default values of `LineStyle`.

### textBox

The default drawing style of the textbox annotation - see [`TextBoxStyle`](https://www.dynamsoft.com/document-viewer/docs/api/interface/annotationinterface/textboxstyle.md) for more details. If not set, this uses the default values of `TextBoxStyle`.

### textTypewriter

The default drawing style of the text typewriter annotation - see [`TextTypewriterStyle`](https://www.dynamsoft.com/document-viewer/docs/api/interface/annotationinterface/texttypewriterstyle.md) for more details. If not set, this uses the default values of `TextTypewriterStyle`.

### stamp

The default drawing style of the stamp annotation - see [`StampStyle`](https://www.dynamsoft.com/document-viewer/docs/api/interface/annotationinterface/stampstyle.md) for more details. If not set, this uses the default values of `StampStyle`.

### highlight

The default drawing style of the highlight annotation - see [`HighlightStyle`](https://www.dynamsoft.com/document-viewer/docs/api/interface/annotationinterface/highlightstyle.md) for more details. If not set, this uses the default values of `HighlightStyle`.

### underline

The default drawing style of the underline annotation - see [`UnderlineStyle`](https://www.dynamsoft.com/document-viewer/docs/api/interface/annotationinterface/underlinestyle.md) for more details. If not set, this uses the default values of `UnderlineStyle`.

### strikeout

The default drawing style of the strikeout annotation - see [`StrikeoutStyle`](https://www.dynamsoft.com/document-viewer/docs/api/interface/annotationinterface/strikeoutstyle.md) for more details. If not set, this uses the default values of `StrikeoutStyle`.

### redaction

The default drawing style of redaction annotation - see [`RedactionStyle`](https://www.dynamsoft.com/document-viewer/docs/api/interface/annotationinterface/redactionstyle.md) for more details. If not set, this uses the default values of `RedactionStyle`.
