DashboardObjectExportToPDF Method (DataTable, ListInt32, String, CubeDataRenderer, Char) |
|
DataPA OpenAnalytics API Reference
Export this dashboard object to PDF
Namespace: DataPAEnterpriseDashboardAssembly: DataPAEnterpriseDashboard (in DataPAEnterpriseDashboard.dll) Version: 1.0.90.0 (1.0.90.0)
Syntax public byte[] ExportToPDF(
DataTable dataTable,
List<int> columnWidths,
string browserLanguage = "",
CubeDataRenderer cube = null,
char pivotDelimiter = '|'
)
Public Function ExportToPDF (
dataTable As DataTable,
columnWidths As List(Of Integer),
Optional browserLanguage As String = "",
Optional cube As CubeDataRenderer = Nothing,
Optional pivotDelimiter As Char = "|"C
) As Byte()
public:
virtual array<unsigned char>^ ExportToPDF(
DataTable^ dataTable,
List<int>^ columnWidths,
String^ browserLanguage = L"",
CubeDataRenderer^ cube = nullptr,
wchar_t pivotDelimiter = L'|'
) sealed
function ExportToPDF(dataTable, columnWidths, browserLanguage, cube, pivotDelimiter);
Parameters
- dataTable
- Type: System.DataDataTable
The data to export - columnWidths
- Type: System.Collections.GenericListInt32
- browserLanguage (Optional)
- Type: SystemString
Used to ensure correct culture-specific formatting, e.g. thousand separators - cube (Optional)
- Type: DataPAEnterpriseDashboardCubeDataRenderer
If the grid is a Pivot Table, the CubeDataRenderer associated with it - pivotDelimiter (Optional)
- Type: SystemChar
Return Value
Type:
ByteA byte array containing the PDF document
Remarks See Also