Skip to content
Discussion options

You must be logged in to vote

There are a number of FILL_PATTERN constants in Style/Fill.php. It looks like FILL_PATTERN_DARKUP matches your request.

$sheet->getStyle('G3')->getFill()->setFillType(Fill::FILL_PATTERN_DARKUP);

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@toboul70
Comment options

Answer selected by toboul70
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants