SingleDataSetOptions
Definition
Namespace: Surya.Ab.Export.Client.Models
Assembly: Surya.Ab.Export.dll
Provides the optional properties needed for Export without creating DataSets
public class SingleDataSetOptions : ExportOptions
Inheritance ExportOptions -> SingleDataSetOptions
Properties
Name | Definition |
---|---|
Metadata | Metadata for the columns in data |
Header | Header for the Dataset |
Footer | Footer for the Dataset |
SheetName | Name of the sheet in which the given DataSet will be present |
HierarchyReportItemHeaderName | Name of the 1st Column in Hierarchy Export |
DatasetStyle | Style properties for the DataSet |
FitToPage | Bool property to stop wrapping of data due to columns into multiple pages in PDF |
HeaderMergeCellCount | Numbers of cells to be merged to Display Dataset Header |
FooterMergeCellCount | Numbers of cells to be merged to Display Dataset Footer |
ReportItemColumnWidth | Width of the 1st column of Hierarchy Table |
ReportItemTextAlign | Alignment properties for the values in 1st column of Hierarchy Table |
Structure
public class SingleDataSetOptions : ExportOptions
{
public IEnumerable<PropertyMetadata>? Metadata { get; set; }
public string? Header { get; set; }
public string? Footer { get; set; }
public string? SheetName { get; set; }
public string? HierarchyReportItemHeaderName { get; set; }
public DatasetStyle? DatasetStyle { get; set; }
public bool? FitToPage { get; set; }
public int HeaderMergeCellCount { get; set; }
public int FooterMergeCellCount { get; set; }
public int ReportItemColumnWidth { get; set; }
public AbAlignment ReportItemTextAlign { get; set; }
public ImageDatasetDisplay ImageDatasetDisplay { get; set; }
}
Structure
var exportOption = new SingleDataSetOptions()
{
Metadata = metadata,
SheetName = "Sheet 1",
Header = "Header"
};