Class WorkbookPropertiesBuilder<T>
Represents the class for properties.
Inheritance
System.Object
WorkbookPropertiesBuilder<T>
Implements
System.Web.IHtmlString
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Syncfusion.EJ.dll
Syntax
public class WorkbookPropertiesBuilder<T> : IPropertiesBuilder, IHtmlString where T : class
Type Parameters
Constructors
WorkbookPropertiesBuilder()
Declaration
public WorkbookPropertiesBuilder()
WorkbookPropertiesBuilder(Spreadsheet<T>)
Declaration
public WorkbookPropertiesBuilder(Spreadsheet<T> spreadsheet)
Parameters
Type |
Name |
Description |
Spreadsheet<T> |
spreadsheet |
The Spreadsheet model.
|
Fields
spreadsheet
Declaration
public Spreadsheet<T> spreadsheet
Field Value
Methods
ActivationPanelWidth(Int32)
Specifies the width for activation panel.
Declaration
public WorkbookPropertiesBuilder<T> ActivationPanelWidth(int activationPanelWidth)
Parameters
Type |
Name |
Description |
System.Int32 |
activationPanelWidth |
The activation panel width.
|
Returns
ActiveSheetIndex(Int32)
Specifies the active sheet index.
Declaration
public WorkbookPropertiesBuilder<T> ActiveSheetIndex(int activeSheetIndex)
Parameters
Type |
Name |
Description |
System.Int32 |
activeSheetIndex |
The active sheet index.
|
Returns
AllowAutoCellType()
Specifies to enable auto cell type.
Declaration
public WorkbookPropertiesBuilder<T> AllowAutoCellType()
Returns
AllowAutoCellType(Boolean)
Specifies to indicate whether allowAutoCellType is enable or not.
Declaration
public WorkbookPropertiesBuilder<T> AllowAutoCellType(bool allowAutoCellType)
Parameters
Type |
Name |
Description |
System.Boolean |
allowAutoCellType |
true if the cell type is enabled; otherwise, false.
|
Returns
AllowAutoFill()
Specifies to enable autofill.
Declaration
public WorkbookPropertiesBuilder<T> AllowAutoFill()
Returns
AllowAutoFill(Boolean)
Specifies to indicate whether autofill is enable or not.
Declaration
public WorkbookPropertiesBuilder<T> AllowAutoFill(bool allowAutoFill)
Parameters
Type |
Name |
Description |
System.Boolean |
allowAutoFill |
true if the auto fill is enabled; otherwise, false.
|
Returns
AllowAutoSum()
Specifies to enable autosum.
Declaration
public WorkbookPropertiesBuilder<T> AllowAutoSum()
Returns
AllowAutoSum(Boolean)
Specifies to indicate whether autosum is enable or not.
Declaration
public WorkbookPropertiesBuilder<T> AllowAutoSum(bool allowAutoSum)
Parameters
Type |
Name |
Description |
System.Boolean |
allowAutoSum |
true if the auto sum option is enabled; otherwise, false.
|
Returns
Specifies to enable cell formatting.
Declaration
public WorkbookPropertiesBuilder<T> AllowCellFormatting()
Returns
Specifies to indicate whether cell formatting is enable or not.
Declaration
public WorkbookPropertiesBuilder<T> AllowCellFormatting(bool allowCellFormatting)
Parameters
Type |
Name |
Description |
System.Boolean |
allowCellFormatting |
true if the cell formatting is enabled; otherwise, false.
|
Returns
AllowCellType()
Specifies to enable cell type.
Declaration
public WorkbookPropertiesBuilder<T> AllowCellType()
Returns
AllowCellType(Boolean)
Specifies to indicate whether allowCellType is enable or not.
Declaration
public WorkbookPropertiesBuilder<T> AllowCellType(bool allowCellType)
Parameters
Type |
Name |
Description |
System.Boolean |
allowCellType |
true if the cell type is enabled; otherwise, false.
|
Returns
AllowCharts()
Specifies to enable charts.
Declaration
public WorkbookPropertiesBuilder<T> AllowCharts()
Returns
AllowCharts(Boolean)
Specifies to indicate whether charts is enable or not.
Declaration
public WorkbookPropertiesBuilder<T> AllowCharts(bool allowCharts)
Parameters
Type |
Name |
Description |
System.Boolean |
allowCharts |
true if the chart option is enabled; otherwise, false.
|
Returns
AllowClear(Boolean)
Specifies to indicate whether allowClear is enable or not.
Declaration
public WorkbookPropertiesBuilder<T> AllowClear(bool allowClear)
Parameters
Type |
Name |
Description |
System.Boolean |
allowClear |
true if the document content is clear ; otherwise not clear, false.
|
Returns
AllowClipboard()
Specifies to enable clipboard.
Declaration
public WorkbookPropertiesBuilder<T> AllowClipboard()
Returns
AllowClipboard(Boolean)
Specifies to indicate whether clipboard functionalities are enable or not.
Declaration
public WorkbookPropertiesBuilder<T> AllowClipboard(bool allowClipboard)
Parameters
Type |
Name |
Description |
System.Boolean |
allowClipboard |
true if the clipboard operations are enbled; otherwise, false.
|
Returns
Specifies to enable comments.
Declaration
public WorkbookPropertiesBuilder<T> AllowComments()
Returns
Specifies to indicate whether comments is enable or not.
Declaration
public WorkbookPropertiesBuilder<T> AllowComments(bool allowComments)
Parameters
Type |
Name |
Description |
System.Boolean |
allowComments |
true if the comment is enabled; otherwise, false.
|
Returns
Specifies to enable conditional formats.
Declaration
public WorkbookPropertiesBuilder<T> AllowConditionalFormats()
Returns
Specifies to indicate whether conditional formats is enable or not.
Declaration
public WorkbookPropertiesBuilder<T> AllowConditionalFormats(bool allowConditionalFormats)
Parameters
Type |
Name |
Description |
System.Boolean |
allowConditionalFormats |
true if the conditional formatting is enabled; otherwise, false.
|
Returns
AllowDataValidation()
Specifies to enable datavalidation as true.
Declaration
public WorkbookPropertiesBuilder<T> AllowDataValidation()
Returns
AllowDataValidation(Boolean)
Specifies to indicate whether datavalidation is enable or not.
Declaration
public WorkbookPropertiesBuilder<T> AllowDataValidation(bool allowDataValidation)
Parameters
Type |
Name |
Description |
System.Boolean |
allowDataValidation |
true if the data validation is enabled; otherwise, false.
|
Returns
AllowDelete()
Specifies to enable delete.
Declaration
public WorkbookPropertiesBuilder<T> AllowDelete()
Returns
AllowDelete(Boolean)
Specifies to indicate whether delete option is enable or not.
Declaration
public WorkbookPropertiesBuilder<T> AllowDelete(bool allowDelete)
Parameters
Type |
Name |
Description |
System.Boolean |
allowDelete |
true if the delete option is enabled; otherwise, false.
|
Returns
AllowDragAndDrop()
Specifies to enable DragAndDrop.
Declaration
public WorkbookPropertiesBuilder<T> AllowDragAndDrop()
Returns
AllowDragAndDrop(Boolean)
Specifies to indicate whether drag and drop is enable or not.
Declaration
public WorkbookPropertiesBuilder<T> AllowDragAndDrop(bool allowDragAndDrop)
Parameters
Type |
Name |
Description |
System.Boolean |
allowDragAndDrop |
true if the drag and drop is enabled; otherwise, false.
|
Returns
AllowEditing()
Specifies to enable editing.
Declaration
public WorkbookPropertiesBuilder<T> AllowEditing()
Returns
AllowEditing(Boolean)
Specifies to indicate whether editing is enable or not.
Declaration
public WorkbookPropertiesBuilder<T> AllowEditing(bool allowEditing)
Parameters
Type |
Name |
Description |
System.Boolean |
allowEditing |
true if the editing is enabled; otherwise, false.
|
Returns
AllowFiltering()
Specifies to enable filtering.
Declaration
public WorkbookPropertiesBuilder<T> AllowFiltering()
Returns
AllowFiltering(Boolean)
Specifies to indicate whether filtering is enable or not.
Declaration
public WorkbookPropertiesBuilder<T> AllowFiltering(bool allowFiltering)
Parameters
Type |
Name |
Description |
System.Boolean |
allowFiltering |
true if the filtering is enabled; otherwise, false.
|
Returns
Specifies to enable format table as true.
Declaration
public WorkbookPropertiesBuilder<T> AllowFormatAsTable()
Returns
Specifies to indicate whether format table is enable or not.
Declaration
public WorkbookPropertiesBuilder<T> AllowFormatAsTable(bool allowFormatAsTable)
Parameters
Type |
Name |
Description |
System.Boolean |
allowFormatAsTable |
true if the format table is enabled; otherwise, false.
|
Returns
Specifies to enable format painter.
Declaration
public WorkbookPropertiesBuilder<T> AllowFormatPainter()
Returns
Specifies to indicate whether format painter is enable or not.
Declaration
public WorkbookPropertiesBuilder<T> AllowFormatPainter(bool allowFormatPainter)
Parameters
Type |
Name |
Description |
System.Boolean |
allowFormatPainter |
true if the format painter is enabled; otherwise, false.
|
Returns
Specifies to enable formula bar.
Declaration
public WorkbookPropertiesBuilder<T> AllowFormulaBar()
Returns
Specifies to indicate whether formulaBar is enable or not.
Declaration
public WorkbookPropertiesBuilder<T> AllowFormulaBar(bool allowFormulaBar)
Parameters
Type |
Name |
Description |
System.Boolean |
allowFormulaBar |
true if the formula bar is enabled; otherwise, false.
|
Returns
AllowFreezing()
Specifies to enable freezing.
Declaration
public WorkbookPropertiesBuilder<T> AllowFreezing()
Returns
AllowFreezing(Boolean)
Specifies to indicate whether freezing is enable or not.
Declaration
public WorkbookPropertiesBuilder<T> AllowFreezing(bool allowFreezing)
Parameters
Type |
Name |
Description |
System.Boolean |
allowFreezing |
true if the freezing is enabled; otherwise, false.
|
Returns
AllowHyperlink()
Specifies to enable hyperlink.
Declaration
public WorkbookPropertiesBuilder<T> AllowHyperlink()
Returns
AllowHyperlink(Boolean)
Specifies to indicate whether hyperlink is enable or not.
Declaration
public WorkbookPropertiesBuilder<T> AllowHyperlink(bool allowHyperlink)
Parameters
Type |
Name |
Description |
System.Boolean |
allowHyperlink |
true if the hyperlink is enabled; otherwise, false.
|
Returns
AllowImport()
Specifies to enable import.
Declaration
public WorkbookPropertiesBuilder<T> AllowImport()
Returns
AllowImport(Boolean)
Specifies to indicate whether import is enable or not.
Declaration
public WorkbookPropertiesBuilder<T> AllowImport(bool allowImport)
Parameters
Type |
Name |
Description |
System.Boolean |
allowImport |
true if the import option is enabled; otherwise, false.
|
Returns
AllowInsert()
Specifies to enable insert.
Declaration
public WorkbookPropertiesBuilder<T> AllowInsert()
Returns
AllowInsert(Boolean)
Specifies to indicate whether insert option is enable or not.
Declaration
public WorkbookPropertiesBuilder<T> AllowInsert(bool allowInsert)
Parameters
Type |
Name |
Description |
System.Boolean |
allowInsert |
true if the insert option is enabled; otherwise, false.
|
Returns
AllowKeyboardNavigation()
Specifies to enable keyboard navigation.
Declaration
public WorkbookPropertiesBuilder<T> AllowKeyboardNavigation()
Returns
AllowKeyboardNavigation(Boolean)
Specifies to indicate whether keyboard navigation is enable or not.
Declaration
public WorkbookPropertiesBuilder<T> AllowKeyboardNavigation(bool allowKeyboardNavigation)
Parameters
Type |
Name |
Description |
System.Boolean |
allowKeyboardNavigation |
true if the keyboard navigation is enabled; otherwise, false.
|
Returns
AllowLockCell()
Specifies to enable lockcell.
Declaration
public WorkbookPropertiesBuilder<T> AllowLockCell()
Returns
AllowLockCell(Boolean)
Specifies to indicate whether lockcell is enable or not.
Declaration
public WorkbookPropertiesBuilder<T> AllowLockCell(bool allowLockCell)
Parameters
Type |
Name |
Description |
System.Boolean |
allowLockCell |
true if the lock cell is enabled; otherwise, false.
|
Returns
AllowMerging()
Specifies to enable merging.
Declaration
public WorkbookPropertiesBuilder<T> AllowMerging()
Returns
AllowMerging(Boolean)
Specifies to indicate whether merging is enable or not.
Declaration
public WorkbookPropertiesBuilder<T> AllowMerging(bool allowMerging)
Parameters
Type |
Name |
Description |
System.Boolean |
allowMerging |
true if the merging option is enabled; otherwise, false.
|
Returns
AllowOverflow()
Specifies to enable allowOverflow.
Declaration
public WorkbookPropertiesBuilder<T> AllowOverflow()
Returns
AllowOverflow(Boolean)
Specifies to indicate whether allowOverflow is enable or not.
Declaration
public WorkbookPropertiesBuilder<T> AllowOverflow(bool allowOverflow)
Parameters
Type |
Name |
Description |
System.Boolean |
allowOverflow |
true if the document text overflow ; otherwise, false.
|
Returns
AllowResizing()
Specifies to enable resizing.
Declaration
public WorkbookPropertiesBuilder<T> AllowResizing()
Returns
AllowResizing(Boolean)
Specifies to indicate whether resizing is enable or not.
Declaration
public WorkbookPropertiesBuilder<T> AllowResizing(bool allowResizing)
Parameters
Type |
Name |
Description |
System.Boolean |
allowResizing |
true if the resizing is enabled; otherwise, false.
|
Returns
AllowSearching()
Specifies to enable searching.
Declaration
public WorkbookPropertiesBuilder<T> AllowSearching()
Returns
AllowSearching(Boolean)
Specifies to indicate whether searching is enable or not.
Declaration
public WorkbookPropertiesBuilder<T> AllowSearching(bool allowSearching)
Parameters
Type |
Name |
Description |
System.Boolean |
allowSearching |
true if the searching is enabled; otherwise, false.
|
Returns
AllowSelection()
Specifies to enable selection.
Declaration
public WorkbookPropertiesBuilder<T> AllowSelection()
Returns
AllowSelection(Boolean)
Specifies to indicate whether selection is enable or not.
Declaration
public WorkbookPropertiesBuilder<T> AllowSelection(bool allowSelection)
Parameters
Type |
Name |
Description |
System.Boolean |
allowSelection |
true if the cell selection is enabled; otherwise, false.
|
Returns
AllowSorting()
Specifies to enable sorting.
Declaration
public WorkbookPropertiesBuilder<T> AllowSorting()
Returns
AllowSorting(Boolean)
Specifies to indicate whether sorting is enable or not.
Declaration
public WorkbookPropertiesBuilder<T> AllowSorting(bool allowSorting)
Parameters
Type |
Name |
Description |
System.Boolean |
allowSorting |
true if the sorting option is enabled; otherwise, false.
|
Returns
AllowSparkline()
Declaration
public WorkbookPropertiesBuilder<T> AllowSparkline()
Returns
AllowSparkline(Boolean)
Specifies to indicate whether sparkline is enable or not.
Declaration
public WorkbookPropertiesBuilder<T> AllowSparkline(bool allowSparkline)
Parameters
Type |
Name |
Description |
System.Boolean |
allowSparkline |
true if the undo and redo option is enabled; otherwise, false.
|
Returns
AllowUndoRedo()
Specifies to enable undo redo.
Declaration
public WorkbookPropertiesBuilder<T> AllowUndoRedo()
Returns
AllowUndoRedo(Boolean)
Specifies to indicate whether undo redo is enable or not.
Declaration
public WorkbookPropertiesBuilder<T> AllowUndoRedo(bool allowUndoRedo)
Parameters
Type |
Name |
Description |
System.Boolean |
allowUndoRedo |
true if the undo and redo option is enabled; otherwise, false.
|
Returns
AllowWrap()
Specifies to enable wraptext.
Declaration
public WorkbookPropertiesBuilder<T> AllowWrap()
Returns
AllowWrap(Boolean)
Specifies to indicate whether wraptext is enable or not.
Declaration
public WorkbookPropertiesBuilder<T> AllowWrap(bool allowWrap)
Parameters
Type |
Name |
Description |
System.Boolean |
allowWrap |
true if the wraptext option is enabled; otherwise, false.
|
Returns
ApWidth(Int32)
Specifies the width for activation panel.
Declaration
[Obsolete("This property has been deprecated because the another name of API ActivationPanelWidth.")]
public WorkbookPropertiesBuilder<T> ApWidth(int apWidth)
Parameters
Type |
Name |
Description |
System.Int32 |
apWidth |
|
Returns
AutoFillSettings(SpreadsheetAutoFillSettings)
Specifies the autoFillSettings for Spreadsheet.
Declaration
public WorkbookPropertiesBuilder<T> AutoFillSettings(SpreadsheetAutoFillSettings autoFillOption)
Parameters
Returns
AutoFillSettings(Action<SpreadsheetAutoFillOptionsBuilder<T>>)
Specifies the autoFillSettings for Spreadsheet.
Declaration
public WorkbookPropertiesBuilder<T> AutoFillSettings(Action<SpreadsheetAutoFillOptionsBuilder<T>> autoFillOption)
Parameters
Returns
ChartSettings(SpreadsheetChartSettings)
Specifies the chartSettings for Spreadsheet.
Declaration
public WorkbookPropertiesBuilder<T> ChartSettings(SpreadsheetChartSettings chartOption)
Parameters
Returns
ChartSettings(Action<SpreadsheetChartOptionsBuilder<T>>)
Specifies the chartSettings for Spreadsheet.
Declaration
public WorkbookPropertiesBuilder<T> ChartSettings(Action<SpreadsheetChartOptionsBuilder<T>> chartOption)
Parameters
Returns
ClientSideEvents(Action<SpreadsheetClientSideEventsBuilder<T>>)
Specifies the clientside events for Spreadsheet.
Declaration
public WorkbookPropertiesBuilder<T> ClientSideEvents(Action<SpreadsheetClientSideEventsBuilder<T>> clientSideEvents)
Parameters
Returns
ColumnCount(Int32)
Specifies the column count for sheet.
Declaration
public WorkbookPropertiesBuilder<T> ColumnCount(int columnCount)
Parameters
Type |
Name |
Description |
System.Int32 |
columnCount |
The column count.
|
Returns
ColumnWidth(Int32)
Specifies the column width for Spreadsheet.
Declaration
public WorkbookPropertiesBuilder<T> ColumnWidth(int columnWidth)
Parameters
Type |
Name |
Description |
System.Int32 |
columnWidth |
The column width.
|
Returns
CssClass(String)
Specifies the cssClass for Spreadsheet.
Declaration
public WorkbookPropertiesBuilder<T> CssClass(string cssClass)
Parameters
Type |
Name |
Description |
System.String |
cssClass |
The cssClass string.
|
Returns
Specifies the CustomFormulas for Spreadsheet.
Declaration
public WorkbookPropertiesBuilder<T> CustomFormulas(Action<SpreadsheetCustomFormulaBuilder<T>> customFormula)
Parameters
Returns
Specifies the CustomFormulas for Spreadsheet.
Declaration
public WorkbookPropertiesBuilder<T> CustomFormulas(List<CustomFormula> customOptions)
Parameters
Type |
Name |
Description |
System.Collections.Generic.List<CustomFormula> |
customOptions |
|
Returns
Specifies to enable context menu.
Declaration
public WorkbookPropertiesBuilder<T> EnableContextMenu()
Returns
Specifies to indicate whether context menu is enable or not.
Declaration
public WorkbookPropertiesBuilder<T> EnableContextMenu(bool enableContextMenu)
Parameters
Type |
Name |
Description |
System.Boolean |
enableContextMenu |
true if the context menu option is enabled; otherwise, false.
|
Returns
EnablePersistence()
Specifies to enable persistence.
Declaration
public WorkbookPropertiesBuilder<T> EnablePersistence()
Returns
EnablePersistence(Boolean)
Specifies to indicate whether persistence is enable or not.
Declaration
public WorkbookPropertiesBuilder<T> EnablePersistence(bool enablePersistence)
Parameters
Type |
Name |
Description |
System.Boolean |
enablePersistence |
true if the presistence is enabled; otherwise, false.
|
Returns
EnablePivotTable()
Specifies to enable pivottable.
Declaration
public WorkbookPropertiesBuilder<T> EnablePivotTable()
Returns
EnablePivotTable(Boolean)
Specifies to indicate whether pivottable is enable or not.
Declaration
public WorkbookPropertiesBuilder<T> EnablePivotTable(bool enablePivotTable)
Parameters
Type |
Name |
Description |
System.Boolean |
enablePivotTable |
true if the pivot table is enabled; otherwise, false.
|
Returns
EnableTouch()
Specifies to enable touch.
Declaration
public WorkbookPropertiesBuilder<T> EnableTouch()
Returns
EnableTouch(Boolean)
Specifies to indicate whether touch is enable or not.
Declaration
public WorkbookPropertiesBuilder<T> EnableTouch(bool enableTouch)
Parameters
Type |
Name |
Description |
System.Boolean |
enableTouch |
true if the touch option is enabled; otherwise, false.
|
Returns
ExportSettings(SpreadsheetExportSettings)
Specifies the export settings for Spreadsheet.
Declaration
public WorkbookPropertiesBuilder<T> ExportSettings(SpreadsheetExportSettings exportOption)
Parameters
Returns
ExportSettings(Action<SpreadsheetExportOptionsBuilder<T>>)
Specifies the export settings for Spreadsheet.
Declaration
public WorkbookPropertiesBuilder<T> ExportSettings(Action<SpreadsheetExportOptionsBuilder<T>> exportOption)
Parameters
Returns
Specifies the formatSettings for Spreadsheet.
Declaration
public WorkbookPropertiesBuilder<T> FormatSettings(SpreadsheetFormatSettings formatOption)
Parameters
Returns
Specifies the formatSettings for Spreadsheet.
Declaration
public WorkbookPropertiesBuilder<T> FormatSettings(Action<SpreadsheetFormatOptionsBuilder<T>> formatOption)
Parameters
Returns
HtmlAttributes(Object)
Specifies the HtmlAttributes for Spreadsheet.
Declaration
public WorkbookPropertiesBuilder<T> HtmlAttributes(object Attributes)
Parameters
Type |
Name |
Description |
System.Object |
Attributes |
The HtmlAttributes.
|
Returns
ImportSettings(SpreadsheetImportSettings)
Specifies the import settings for Spreadsheet.
Declaration
public WorkbookPropertiesBuilder<T> ImportSettings(SpreadsheetImportSettings importOption)
Parameters
Returns
ImportSettings(Action<SpreadsheetImportOptionsBuilder<T>>)
Specifies the import settings for Spreadsheet.
Declaration
public WorkbookPropertiesBuilder<T> ImportSettings(Action<SpreadsheetImportOptionsBuilder<T>> importOption)
Parameters
Returns
IsGridMode()
Declaration
public WorkbookPropertiesBuilder<T> IsGridMode()
Returns
IsGridMode(Boolean)
Specifies to indicate whether grid mode is enable or not.
Declaration
public WorkbookPropertiesBuilder<T> IsGridMode(bool isGridMode)
Parameters
Type |
Name |
Description |
System.Boolean |
isGridMode |
true if the undo and redo option is enabled; otherwise, false.
|
Returns
IsReadOnly()
Specifies to enable isReadOnly.
Declaration
public WorkbookPropertiesBuilder<T> IsReadOnly()
Returns
IsReadOnly(Boolean)
Specifies to indicate whether isReadOnly is enable or not.
Declaration
public WorkbookPropertiesBuilder<T> IsReadOnly(bool isReadOnly)
Parameters
Type |
Name |
Description |
System.Boolean |
isReadOnly |
true if the document is readOnly mode; otherwise, false.
|
Returns
Locale(String)
Specifies the locale for Spreadsheet.
Declaration
public WorkbookPropertiesBuilder<T> Locale(string locale)
Parameters
Type |
Name |
Description |
System.String |
locale |
The locale value.
|
Returns
NameManager(Action<SpreadsheetNameManagerBuilder<T>>)
Declaration
public WorkbookPropertiesBuilder<T> NameManager(Action<SpreadsheetNameManagerBuilder<T>> nameManager)
Parameters
Returns
NameManager(List<NameManager>)
Specifies the nameManager for Spreadsheet.
Declaration
public WorkbookPropertiesBuilder<T> NameManager(List<NameManager> nameManager)
Parameters
Type |
Name |
Description |
System.Collections.Generic.List<NameManager> |
nameManager |
The nameManager using NameManager object.
|
Returns
PageSettings(SpreadsheetPageSettings)
Specifies the pageSettings for Spreadsheet.
Declaration
public WorkbookPropertiesBuilder<T> PageSettings(SpreadsheetPageSettings pageOption)
Parameters
Returns
PageSettings(Action<SpreadsheetPageOptionsBuilder<T>>)
Specifies the pageSettings for Spreadsheet.
Declaration
public WorkbookPropertiesBuilder<T> PageSettings(Action<SpreadsheetPageOptionsBuilder<T>> pageOption)
Parameters
Returns
PageSize(SpreadsheetPageSize)
Specifies the pageSize for print.
Declaration
public WorkbookPropertiesBuilder<T> PageSize(SpreadsheetPageSize pageSize)
Parameters
Returns
PictureSettings(SpreadsheetPictureSettings)
Specifies the picture settings for Spreadsheet.
Declaration
public WorkbookPropertiesBuilder<T> PictureSettings(SpreadsheetPictureSettings pictureOption)
Parameters
Returns
PictureSettings(Action<SpreadsheetPictureOptionsBuilder<T>>)
Specifies the picture settings for Spreadsheet.
Declaration
public WorkbookPropertiesBuilder<T> PictureSettings(Action<SpreadsheetPictureOptionsBuilder<T>> pictureOption)
Parameters
Returns
PrintSettings(SpreadsheetPrintSettings)
Specifies the printSettings for Spreadsheet.
Declaration
public WorkbookPropertiesBuilder<T> PrintSettings(SpreadsheetPrintSettings printOption)
Parameters
Returns
PrintSettings(Action<SpreadsheetPrintOptionsBuilder<T>>)
Specifies the print settings for Spreadsheet.
Declaration
public WorkbookPropertiesBuilder<T> PrintSettings(Action<SpreadsheetPrintOptionsBuilder<T>> printOption)
Parameters
Returns
Render()
Declaration
RibbonSettings(SpreadsheetRibbonSettings)
Specifies the RibbonSettings for Spreadsheet.
Declaration
public WorkbookPropertiesBuilder<T> RibbonSettings(SpreadsheetRibbonSettings ribbonOption)
Parameters
Returns
RibbonSettings(Action<SpreadsheetRibbonOptionsBuilder<T>>)
Specifies the RibbonSettings for Spreadsheet.
Declaration
public WorkbookPropertiesBuilder<T> RibbonSettings(Action<SpreadsheetRibbonOptionsBuilder<T>> ribbonOptions)
Parameters
Returns
RowCount(Int32)
Specifies the row count for sheets.
Declaration
public WorkbookPropertiesBuilder<T> RowCount(int rowCount)
Parameters
Type |
Name |
Description |
System.Int32 |
rowCount |
The row count.
|
Returns
RowHeight(Int32)
Specifies the row height for Spreadsheet.
Declaration
public WorkbookPropertiesBuilder<T> RowHeight(int rowHeight)
Parameters
Type |
Name |
Description |
System.Int32 |
rowHeight |
The row height.
|
Returns
Specifies the scroll settings for Spreadsheet.
Declaration
public WorkbookPropertiesBuilder<T> ScrollSettings(SpreadsheetScrollSettings scrollOption)
Parameters
Returns
Specifies the scroll settings for Spreadsheet.
Declaration
public WorkbookPropertiesBuilder<T> ScrollSettings(Action<SpreadsheetScrollOptionsBuilder<T>> scrollOption)
Parameters
Returns
SelectionSettings(SpreadsheetSelectionSettings)
Specifies the selection settings for Spreadsheet.
Declaration
public WorkbookPropertiesBuilder<T> SelectionSettings(SpreadsheetSelectionSettings selectionOption)
Parameters
Returns
SelectionSettings(Action<SpreadsheetSelectionOptionsBuilder<T>>)
Specifies the selection settings for Spreadsheet.
Declaration
public WorkbookPropertiesBuilder<T> SelectionSettings(Action<SpreadsheetSelectionOptionsBuilder<T>> selectionOption)
Parameters
Returns
SheetCount(Int32)
Specifies the sheet count.
Declaration
public WorkbookPropertiesBuilder<T> SheetCount(int sheetCount)
Parameters
Type |
Name |
Description |
System.Int32 |
sheetCount |
The sheet count.
|
Returns
Sheets(Action<SpreadsheetSheetOptionsBuilder<T>>)
Specifies the sheets for Spreadsheet.
Declaration
public WorkbookPropertiesBuilder<T> Sheets(Action<SpreadsheetSheetOptionsBuilder<T>> sheetOption)
Parameters
Returns
Sheets(List<Sheet>)
Specifies the sheets for Spreadsheet.
Declaration
public WorkbookPropertiesBuilder<T> Sheets(List<Sheet> sheetOption)
Parameters
Type |
Name |
Description |
System.Collections.Generic.List<Sheet> |
sheetOption |
The sheet using Sheet object.
|
Returns
Specifies to enable the Pager.
Declaration
public WorkbookPropertiesBuilder<T> ShowPager()
Returns
Specifies to indicate whether Pager is enable or not.
Declaration
public WorkbookPropertiesBuilder<T> ShowPager(bool showPager)
Parameters
Type |
Name |
Description |
System.Boolean |
showPager |
|
Returns
ShowRibbon()
Specifies to enable the ribbon.
Declaration
public WorkbookPropertiesBuilder<T> ShowRibbon()
Returns
ShowRibbon(Boolean)
Specifies to indicate whether ribbon is show or hide.
Declaration
public WorkbookPropertiesBuilder<T> ShowRibbon(bool showRibbon)
Parameters
Type |
Name |
Description |
System.Boolean |
showRibbon |
true if the ribbon is show; otherwise, false.
|
Returns
ToHtmlString()
Declaration
public string ToHtmlString()
Returns
Type |
Description |
System.String |
|
UndoredoStep(Int32)
Specifies the undo redo step for sheet.
Declaration
public WorkbookPropertiesBuilder<T> UndoredoStep(int undoredoStep)
Parameters
Type |
Name |
Description |
System.Int32 |
undoredoStep |
The undo redo step.
|
Returns
UserName(String)
Specifies the userName for Spreadsheet.
Declaration
public WorkbookPropertiesBuilder<T> UserName(string userName)
Parameters
Type |
Name |
Description |
System.String |
userName |
The username.
|
Returns
Implements
System.Web.IHtmlString