You were provided a link to the documentation. Just search for WorkBook and go through the results.
Create a Workbook - Ignite UI™ Help[
^].
There is rarely the exact code you need sitting on some website so you need to read the documentation, use Intellisense, and adapt to what you are doing.