Skip to main content

ParamSectionDataSet

Definition

Namespace: Surya.Ab.Export.Client.Models
Assembly: Surya.Ab.Export.dll

ParamSectionDataSet is a way to create data for Parameter. One can create an instance of ParamSectionDataSet that can be directly passed to IExporter using a list of DataSetBase. It takes Dictionary<string, string> as it's data for parameter.

public class ParamSectionDataSet : DataSetBase

Inheritance DataSetBase -> ParamSectionDataSet

Properties

NameDefinition
DataRepresents parameter data in form of Dictionary<string, string>
DisplayRepresents the Orientation/Format in which the ParamSectionData to be displayed.
ColumnWidthWidth of Each cell in table for ParamSectionDataset
FontWeightFontWeight for keys in table for ParamSectionDataset
MergeCellCountNumber cells to be merged to create each cell in Excel

Constructors

Constructor with two overloads for creating the instance of ReportDataSet

First Structure

public ParamSectionDataSet(Dictionary<string, string> paramSectionData)
{
}

This constructor allows creating an ParamSectionDataSet instance from a Dictionary<string, string>, along with optional ParamSectionDisplay, SheetName, Header, Footer, DatasetStyle, PageBreak.

Second Structure

public ParamSectionDataSet(Dictionary<string, string> paramSectionData, ParamSectionOrientation paramSectionDisplay)
{
}

This constructor allows creating an ParamSectionDataSet instance from a Dictionary<string, string> and ParamSectionDisplay, along with optional SheetName, Header, Footer, DatasetStyle, PageBreak.

ParamSectionOrientation


Edit on GitHub