PatternType

type PatternType = cross | dashDnDiag | dashHorz | dashUpDiag | dashVert | diagBrick | diagCross | divot | dkDnDiag | dkHorz | dkUpDiag | dkVert | dnDiag | dotDmnd | dotGrid | horz | horzBrick | lgCheck | lgConfetti | lgGrid | ltDnDiag | ltHorz | ltUpDiag | ltVert | narHorz | narVert | openDmnd | pct10 | pct20 | pct25 | pct30 | pct40 | pct5 | pct50 | pct60 | pct70 | pct75 | pct80 | pct90 | plaid | shingle | smCheck | smConfetti | smGrid | solidDmnd | sphere | trellis | upDiag | vert | wave | wdDnDiag | wdUpDiag | weave | zigZag

Description

The available preset patterns which can be used for the fill.

Try It

var oFill = Api.CreatePatternFill("dashDnDiag", Api.CreateRGBColor(0, 225, 0), Api.CreateRGBColor(255, 0, 0));

Get Help

  • If you have any questions about ONLYOFFICE Docs, try the FAQ section first.
  • You can request a feature or report a bug by posting an issue on GitHub.
  • You can also ask our developers on ONLYOFFICE forum (registration required).