Config

Config class

Represents all the settings for GridJs

public class Config

Constructors

Name Description
Config() The default constructor.

Properties

Name Description
static AutoOptimizeForLargeCells { get; set; }
static EmptySheetMaxCol { get; set; } Sets/Gets default max column for an empty worksheet
static EmptySheetMaxRow { get; set; } Sets default max row for an empty worksheet
static FileCacheDirectory { get; set; } Sets/Gets the cache directory for workbook file
static IgnoreEmptyContent { get; set; } Sets whether to show the max range which includes data ,style, merged cells and shapes. the default value is true .if the last row or column contains cells with no value and formula but has custom style then we will not show this row/column when this vlaue is true
static IslimitShapeOrImage { get; set; } Sets whether to limit the total display shape/image count inside one worksheet ,if set to true, GridJs will limit the total display shape/image size inside one worksheet to MaxShapeOrImageCount the default value is true
static MaxPdfSaveSeconds { get; set; } Sets /Gets the max timed out seconds when save to pdf
static MaxShapeOrImageCount { get; set; } Sets /Gets the total display shape/image count inside the active sheet,it will take affec when IslimitShapes=true
static MaxShapeOrImageWidthOrHeight { get; set; } Sets /Gets the max width or height for a shape/image ,GridJs will ignore the shape/image with the width or height larger than this, it will take affec when IslimitShapes=true
static MaxTotalShapeOrImageCount { get; set; } Sets /Gets the total display shape/image count inside the whole workbook,it will take affec when IslimitShapes=true
static PageSize { get; set; } Sets whether to do pagination GridJs will limit the row size based on the PageSize,if PageSize is -1,it will not do pagination the default value is -1
static PictureCacheDirectory { get; set; } Sets/Gets the cache directory for pictures
static SameImageDetecting { get; set; } Sets whether to check if picture has same source,the default is true the default value is true
static SaveHtmlAsZip { get; set; } Sets whether to save html file as zip archive,the default is false the default value is true

Methods

Name Description
static SetFontFolder(string, bool) Sets the fonts folder
static SetFontFolders(string[], bool) Sets the fonts folders

See Also