|
|
|
|
|
Formatting
Numerous formatting options are available for customizing the style and appearance of the spreadsheet cells.
|
|
|
|
Essential XlsIO provides options to set the text font and color, background pattern and color,and text alignment. The different format settings available for a cell are illustrated below:
Alignment
Essential XlsIO supports Horizontal and Vertical alignment settings within the cells and also rotated text.
Text Alignment
Font
Essential XlsIO has API support for customizing the font used to render text in cells.
Cell Text Font
Border
Essential XlsIO has APIs to insert and format Borders.
Cell Border
Number Formatting
MS Excel displays a number in a cell based on the Number Format applied to it. The same number can be displayed in different formats based on the number format associated with it. XlsIO has API for reading and writing the number format in a cell.
Number Format
Color Palette
Essential XlsIO supports addition of new colors to MS Excel's core color palette.
Custom Colors
Pattern
Essential XlsIO has APIs to specify the background pattern of a cell.
Cell Background Pattern
|
|
|
|
Essential XlsIO supports addition and modification of global styles which can be applied to more than one cell in a spreadsheet.
Global Style Applied to Spreadsheet
Style Customization
Customizing the style settings of your spreadsheet can be done using Essential XLsIO. This feature comes with the added flexibility of allowing users to either include or exclude certain formats in a worksheet just like MS Excel.
Code to Exclude Number Format Style
Equivalent Functionality in Excel
|
|
|
|
Essential XlsIO provides well-defined APIs to apply default styles to rows and columns. Once you have defined a style, you can apply this style to all the cells in a row or a column using a single function call. This optimizes formatting of spreadsheets with large numbers of rows and columns.
Row and Column Style Applied to Spreadsheet
|
|
|
|
Essential XlsIO allows conditional formatting of spreadsheet cells. Conditional formatting is a technique by which the cell contents are dynamically formatted based on user-defined criteria.
Essential XlsIO has well-defined APIs to read and write the conditional format from-or-to a cell in a spreadsheet. Different conditional formats are illustrated beow:
Examples of Conditional Formatting
|
|
|
|
Rich text can be added to cells using Essential XlsIO's APIs. The rich text content in cells on an existing spreadsheet can also be read.
Rich Text in Essential XlsIO
|
|
|
|
Essential XlsIO supports the insertion of Scalar and Vector images into a spreadsheet. It is also possible to position the image at any desired location.
Image Inserted Spreadsheet
|
|
|
|
Essential XlsIO allows addition of hyperlinks to cell content in a spreadsheet. It has APIs to read and write hyperlinks in a spreadsheet.
Cell Content with Hyperlinks
|
|
|
|
The format settings are automatically copied from the source cell to the destination cell during a copy operation. Thus, you don’t have to apply formatting to copied cells.
Copy Cells with Format Settings-Sample Code
Equivalent Functionality in MS Excel
|
|
|
|
|
|
|
|