[]
Gets or sets whether the workbook uses pixel-based column width.
By default, a workbook uses character count based column width. Set this option to
true to use pixels as the column width unit so that API behaviors such as auto-fit
columns and rendering results such as PDF and image output are closer to SpreadJS.
public bool PixelBasedColumnWidth { get; set; }
Public Property PixelBasedColumnWidth As Boolean
WorkbookOptions options = new WorkbookOptions();
options.PixelBasedColumnWidth = true;
bool pixelBased = options.PixelBasedColumnWidth;
Workbook workbook = new Workbook(options);