Skip to main content
Module

x/docxml/mod.ts>WatermarkTextProps

TypeScript (component) library for building and parsing a DOCX file
Go to Latest
type alias WatermarkTextProps
import { type WatermarkTextProps } from "https://deno.land/x/docxml@5.13.2/mod.ts";

A type describing the props accepted by WatermarkText.

The "style" option, which is part of both paragraph- and text properties, is always set to the paragraph style -- the text style is ignored.

definition: { text: string; horizontalAlign?:
| "left"
| "center"
| "right"
| null
; verticalAlign?:
| "top"
| "center"
| "bottom"
| null
; minFontSize?: Length | null; boxWidth?: Length | null; boxHeight?: Length | null; color?: string | null; font?: string | null; opacity?: number | null; isBold?: boolean | null; isItalic?: boolean | null; }