API Reference
Class
ExcelTemplateOptions
Options used when applying workbook or worksheet template markers.
Inheritance
- Object
- ExcelTemplateOptions
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
Accepted by parameters
- Method ExcelDocument.ApplyTemplate
- Method ExcelDocument.ApplyTemplate
- Method ExcelSheet.ApplyTemplate
- Method ExcelSheet.ApplyTemplate
- Method ExcelSheet.ApplyTemplateOptionalRows
- Method ExcelSheet.ApplyTemplateOptionalRows
- Method ExcelSheet.ApplyTemplateRows
- Method ExcelSheet.ApplyTemplateRows``1
Constructors
public ExcelTemplateOptions() #Methods
public ExcelTemplateOptions AddFormatter(String name, ExcelTemplateValueFormatter formatter) #Returns:
ExcelTemplateOptionsAdds or replaces a named custom formatter and returns this options instance.
Parameters
- name System.String
- formatter OfficeIMO.Excel.ExcelTemplateValueFormatter
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
public IFormatProvider FormatProvider { get; set; } #Format provider used by built-in aliases and custom formatters.
public Boolean ThrowOnMissing { get; set; } #Throws when a marker is not supplied by the values/model. Equivalent to Throw.
public ExcelTemplateMissingValueBehavior MissingValueBehavior { get; set; } #Behavior used when a marker is not supplied by the values/model.
public IDictionary<String, ExcelTemplateValueFormatter> Formatters { get; } #Named custom formatters, keyed by marker format such as "upper" in {{Name:upper}}.