This function returns the number of fonts of the font table.
1 excel.Workbook.getNumberOfFonts
<excel.Workbook.getNumberOfFonts>
<wb /> +
</excel.Workbook.getNumberOfFonts>
Arguments | |||||
---|---|---|---|---|---|
Name | Type | Required | Unique | Nullable | Description |
Ewb | Workbook | Work from where you can extract information. |
Returns | |
---|---|
Type | Description |
integer | Number of fonts. |
Example
Get the images of an excel book.
Copy
<xsql-script name='sample_excel_Workbook_getNumberOfFonts'> <body> <set name='wb'> <excel.Workbook /> </set> <excel.Workbook.createSheet name='sheet1'> <wb /> </excel.Workbook.createSheet> <println> Hay <excel.Workbook.getNumberOfFonts> <wb /> </excel.Workbook.getNumberOfFonts> fonts! </println> </body> </xsql-script>