[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.ICustomViews.Add

Add Method

Add(string, bool, bool)

创建一个新的自定义视图。

Declaration
ICustomView Add(string viewName, bool printSettings, bool rowColSettings)
Parameters
Type Name Description
string viewName

新视图的名称。

bool printSettings

如果要在自定义视图中包含打印设置,则为 true。

bool rowColSettings

如果要在自定义视图中包含隐藏行和列的设置(包括筛选信息),则为 true。

Returns
Type Description
ICustomView

新的自定义视图。