Document Solutions for Excel, .NET Edition | Document Solutions
GrapeCity.Documents.Excel Namespace / WorkbookOptions Class / PixelBasedColumnWidth Property
In This Topic
    PixelBasedColumnWidth Property
    In This Topic
    By default, the column width uses character count in workbook.
    Therefore, this option is introduced to allow users to decide whether to use pixels as the column width unit in workbook,
    in order to achieve the API behaviors (e.g. auto-fit column) and results (e.g. PDF and image rendering) to be closer to SpreadJS.
    Syntax
    public System.bool PixelBasedColumnWidth {get; set;}

    Property Value

    True if the workbook should use pixel-based column width.
    Otherwise, the workbook should use character count based column width. The default value is false.
    See Also