Cell Pattern Fill

Refer to the following example code to see how to set the pattern fill for a cell.