[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.WorkbookOptions

Class WorkbookOptions

Namespace
GrapeCity.Documents.Excel
Assembly
GcDocs.Excel.dll

Options class for creating the workbook.

public class WorkbookOptions
Inheritance
object
WorkbookOptions
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Constructors

WorkbookOptions()

public WorkbookOptions()

Properties

PixelBasedColumnWidth

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.

public bool PixelBasedColumnWidth { get; set; }

Property Value

bool

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.