<!DOCTYPE html><htmlclass="default"lang="en"data-base=".."><head><metacharset="utf-8"/><metahttp-equiv="x-ua-compatible"content="IE=edge"/><title>BorderStyle | docx</title><metaname="description"content="Documentation for docx"/><metaname="viewport"content="width=device-width, initial-scale=1"/><linkrel="stylesheet"href="../assets/style.css"/><linkrel="stylesheet"href="../assets/highlight.css"/><scriptdefersrc="../assets/main.js"></script><scriptasyncsrc="../assets/icons.js"id="tsd-icons-script"></script><scriptasyncsrc="../assets/search.js"id="tsd-search-script"></script><scriptasyncsrc="../assets/navigation.js"id="tsd-nav-script"></script><scriptasyncsrc="../assets/hierarchy.js"id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme=localStorage.getItem("tsd-theme")||"os";document.body.style.display="none";setTimeout(()=>app?app.showPage():document.body.style.removeProperty("display"),500)</script><headerclass="tsd-page-toolbar"><divclass="tsd-toolbar-contents container"><divclass="table-cell"id="tsd-search"><divclass="field"><labelfor="tsd-search-field"class="tsd-widget tsd-toolbar-icon search no-caption"><svgwidth="16"height="16"viewBox="0 0 16 16"fill="none"><usehref="../assets/icons.svg#icon-search"></use></svg></label><inputtype="text"id="tsd-search-field"aria-label="Search"/></div><divclass="field"><divid="tsd-toolbar-links"></div></div><ulclass="results"><liclass="state loading">Preparing search index...</li><liclass="state failure">The search index is not available</li></ul><ahref="../index.html"class="title">docx</a></div><divclass="table-cell"id="tsd-widgets"><ahref="#"class="tsd-widget tsd-toolbar-icon menu no-caption"data-toggle="menu"aria-label="Menu"><svgwidth="16"height="16"viewBox="0 0 16 16"fill="none"><usehref="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><divclass="container container-main"><divclass="col-content"><divclass="tsd-page-title"><ulclass="tsd-breadcrumb"><li><ahref="../modules.html">docx</a></li><li><ahref="BorderStyle.html">BorderStyle</a></li></ul><h1>Variable BorderStyle<codeclass="tsd-tag">Const</code></h1></div><divclass="tsd-signature"><spanclass="tsd-kind-variable">BorderStyle</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-symbol">{</span><br/><spanclass="tsd-kind-property">DASH_DOT_STROKED</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">"dashDotStroked"</span><spanclass="tsd-signature-symbol">;</span><br/><spanclass="tsd-kind-property">DASH_SMALL_GAP</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">"dashSmallGap"</span><spanclass="tsd-signature-symbol">;</span><br/><spanclass="tsd-kind-property">DASHED</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">"dashed"</span><spanclass="tsd-signature-symbol">;</span><br/><spanclass="tsd-kind-property">DOT_DASH</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">"dotDash"</span><spanclass="tsd-signature-symbol">;</span><br/><spanclass="tsd-kind-property">DOT_DOT_DASH</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">"dotDotDash"</span><spanclass="tsd-signature-symbol">;</span><br/><spanclass="tsd-kind-property">DOTTED</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">"dotted"</span><spanclass="tsd-signature-symbol">;</span><br/><spanclass="tsd-kind-property">DOUBLE</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">"double"</span><spanclass="tsd-signature-symbol">;</span><br/><spanclass="tsd-kind-property">DOUBLE_WAVE</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">"doubleWave"</span><spanclass="tsd-signature-symbol">;</span><br/><spanclass="tsd-ki
<p><code>bottom</code>, <code>end</code> (<code>right</code> in the previous version of the standard), <code>insideH</code>, <code>insideV</code>, <code>start</code> (<code>left</code> in the previous version of the standard), and <code>top</code>.</p>
</div><divclass="tsd-type-declaration"><h4>Type declaration</h4><ulclass="tsd-parameters"><liclass="tsd-parameter"><h5><codeclass="tsd-tag">Readonly</code><spanclass="tsd-kind-property">DASH_DOT_STROKED</span><aid="__typedash_dot_stroked"class="tsd-anchor"></a><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">"dashDotStroked"</span></h5><divclass="tsd-comment tsd-typography"><p>a line with a series of alternating thin and thick strokes</p>
</div><divclass="tsd-comment tsd-typography"></div></li><liclass="tsd-parameter"><h5><codeclass="tsd-tag">Readonly</code><spanclass="tsd-kind-property">DASH_SMALL_GAP</span><aid="__typedash_small_gap"class="tsd-anchor"></a><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">"dashSmallGap"</span></h5><divclass="tsd-comment tsd-typography"><p>a dashed line with small gaps</p>
</div><divclass="tsd-comment tsd-typography"></div></li><liclass="tsd-parameter"><h5><codeclass="tsd-tag">Readonly</code><spanclass="tsd-kind-property">DOT_DASH</span><aid="__typedot_dash"class="tsd-anchor"></a><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">"dotDash"</span></h5><divclass="tsd-comment tsd-typography"><p>a line with alternating dots and dashes</p>
</div><divclass="tsd-comment tsd-typography"></div></li><liclass="tsd-parameter"><h5><codeclass="tsd-tag">Readonly</code><spanclass="tsd-kind-property">DOT_DOT_DASH</span><aid="__typedot_dot_dash"class="tsd-anchor"></a><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">"dotDotDash"</span></h5><divclass="tsd-comment tsd-typography"><p>a line with a repeating dot - dot - dash sequence</p>
</div><divclass="tsd-comment tsd-typography"></div></li><liclass="tsd-parameter"><h5><codeclass="tsd-tag">Readonly</code><spanclass="tsd-kind-property">INSET</span><aid="__typeinset"class="tsd-anchor"></a><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">"inset"</span></h5><divclass="tsd-comment tsd-typography"><p>an inset set of lines</p>
</div><divclass="tsd-comment tsd-typography"></div></li><liclass="tsd-parameter"><h5><codeclass="tsd-tag">Readonly</code><spanclass="tsd-kind-property">OUTSET</span><aid="__typeoutset"class="tsd-anchor"></a><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">"outset"</span></h5><divclass="tsd-comment tsd-typography"><p>an outset set of lines</p>
</div><divclass="tsd-comment tsd-typography"></div></li><liclass="tsd-parameter"><h5><codeclass="tsd-tag">Readonly</code><spanclass="tsd-kind-property">SINGLE</span><aid="__typesingle"class="tsd-anchor"></a><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">"single"</span></h5><divclass="tsd-comment tsd-typography"><p>a single line</p>
</div><divclass="tsd-comment tsd-typography"></div></li><liclass="tsd-parameter"><h5><codeclass="tsd-tag">Readonly</code><spanclass="tsd-kind-property">THICK</span><aid="__typethick"class="tsd-anchor"></a><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">"thick"</span></h5><divclass="tsd-comment tsd-typography"><p>a single line</p>
</div><divclass="tsd-comment tsd-typography"></div></li><liclass="tsd-parameter"><h5><codeclass="tsd-tag">Readonly</code><spanclass="tsd-kind-property">THICK_THIN_LARGE_GAP</span><aid="__typethick_thin_large_gap"class="tsd-anchor"></a><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">"thickThinLargeGap"</span></h5><divclass="tsd-comment tsd-typography"><p>a thick line contained within a thin line with a large-sized intermediate gap</p>
</div><divclass="tsd-comment tsd-typography"></div></li><liclass="tsd-parameter"><h5><codeclass="tsd-tag">Readonly</code><spanclass="tsd-kind-property">THICK_THIN_MEDIUM_GAP</span><aid="__typethick_thin_medium_gap"class="tsd-anchor"></a><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">"thickThinMediumGap"</span></h5><divclass="tsd-comment tsd-typography"><p>a thick line contained within a thin line with a medium-sized intermediate gap</p>
</div><divclass="tsd-comment tsd-typography"></div></li><liclass="tsd-parameter"><h5><codeclass="tsd-tag">Readonly</code><spanclass="tsd-kind-property">THICK_THIN_SMALL_GAP</span><aid="__typethick_thin_small_gap"class="tsd-anchor"></a><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">"thickThinSmallGap"</span></h5><divclass="tsd-comment tsd-typography"><p>a thick line contained within a thin line with a small intermediate gap</p>
</div><divclass="tsd-comment tsd-typography"></div></li><liclass="tsd-parameter"><h5><codeclass="tsd-tag">Readonly</code><spanclass="tsd-kind-property">THIN_THICK_LARGE_GAP</span><aid="__typethin_thick_large_gap"class="tsd-anchor"></a><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">"thinThickLargeGap"</span></h5><divclass="tsd-comment tsd-typography"><p>a thin line contained within a thick line with a large-sized intermediate gap</p>
</div><divclass="tsd-comment tsd-typography"></div></li><liclass="tsd-parameter"><h5><codeclass="tsd-tag">Readonly</code><spanclass="tsd-kind-property">THIN_THICK_MEDIUM_GAP</span><aid="__typethin_thick_medium_gap"class="tsd-anchor"></a><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">"thinThickMediumGap"</span></h5><divclass="tsd-comment tsd-typography"><p>a thick line contained within a thin line with a medium-sized intermediate gap</p>
</div><divclass="tsd-comment tsd-typography"></div></li><liclass="tsd-parameter"><h5><codeclass="tsd-tag">Readonly</code><spanclass="tsd-kind-property">THIN_THICK_SMALL_GAP</span><aid="__typethin_thick_small_gap"class="tsd-anchor"></a><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">"thinThickSmallGap"</span></h5><divclass="tsd-comment tsd-typography"><p>a thick line contained within a thin line with a small intermediate gap</p>
</div><divclass="tsd-comment tsd-typography"></div></li><liclass="tsd-parameter"><h5><codeclass="tsd-tag">Readonly</code><spanclass="tsd-kind-property">THIN_THICK_THIN_LARGE_GAP</span><aid="__typethin_thick_thin_large_gap"class="tsd-anchor"></a><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">"thinThickThinLargeGap"</span></h5><divclass="tsd-comment tsd-typography"><p>a thin-thick-thin line with a large gap</p>
</div><divclass="tsd-comment tsd-typography"></div></li><liclass="tsd-parameter"><h5><codeclass="tsd-tag">Readonly</code><spanclass="tsd-kind-property">THIN_THICK_THIN_MEDIUM_GAP</span><aid="__typethin_thick_thin_medium_gap"class="tsd-anchor"></a><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">"thinThickThinMediumGap"</span></h5><divclass="tsd-comment tsd-typography"><p>a thin-thick-thin line with a medium gap</p>
</div><divclass="tsd-comment tsd-typography"></div></li><liclass="tsd-parameter"><h5><codeclass="tsd-tag">Readonly</code><spanclass="tsd-kind-property">THIN_THICK_THIN_SMALL_GAP</span><aid="__typethin_thick_thin_small_gap"class="tsd-anchor"></a><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">"thinThickThinSmallGap"</span></h5><divclass="tsd-comment tsd-typography"><p>a thin-thick-thin line with a small gap</p>
</div><divclass="tsd-comment tsd-typography"></div></li><liclass="tsd-parameter"><h5><codeclass="tsd-tag">Readonly</code><spanclass="tsd-kind-property">THREE_D_EMBOSS</span><aid="__typethree_d_emboss"class="tsd-anchor"></a><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">"threeDEmboss"</span></h5><divclass="tsd-comment tsd-typography"><p>a three-staged gradient line, getting darker towards the paragraph</p>
</div><divclass="tsd-comment tsd-typography"></div></li><liclass="tsd-parameter"><h5><codeclass="tsd-tag">Readonly</code><spanclass="tsd-kind-property">THREE_D_ENGRAVE</span><aid="__typethree_d_engrave"class="tsd-anchor"></a><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">"threeDEngrave"</span></h5><divclass="tsd-comment tsd-typography"><p>a three-staged gradient like, getting darker away from the paragraph</p>