JavaScript API: setBackgroundColor
- addBookmark
- addBreak
- addComment
- addCrossReference
- addDateTime
- addEndnote
- addExternalFile
- addFootnote
- addFormElement
- addImage
- addLink
- addList
- addMergeField
- addPageNumber
- addSimpleField
- addStructuredDocumentTag
- addSvg
- addTab
- addTable
- addTableOfContents
- addTableOfFigures
- addText
- addWordFragment
- addWordMl
- getTemplateSymbols
- getTemplateVariables
- openTemplate
- processTemplate
- removeVariableImage
- removeVariableText
- replaceVariableCheckbox
- replaceVariableExternalFile
- replaceVariableImage
- replaceVariableInputField
- replaceVariableList
- replaceVariableTable
- replaceVariableText
- replaceVariableWordFragment
- replaceVariableWordMl
- setTemplateSymbols
setBackgroundColor
PREMIUM
TRIAL / ADVANCED
Sets background color.
Note
You are reading the JavaScript API documentation. For the PHP API method please go to setBackgroundColor.
Description
setBackgroundColor (color: string): this
Release notes
- phpdocx 15.5:
- new method.