<< Click to Display Table of Contents >> Navigation: »No topics above this level« TOC : Script API > JavaScript > JavaScript API > Component > Multiplex > Chart > Method >SetExportOption |
Sets the export options.
Prototype :
void SetExportOption
(
string ExportOption
)
Arguments :
ExportOption |
refer to ExportOptionConst multiple options are separated by comma(",") |
Reference :
If you want to enable only one export option, set to "Nothing" first and set to your option.
Example :
//string
This.SetExportOption("JPG,PDF,XLS");
//constant
This.SetExportOption(ExportOptionConst.JPG + "," + ExportOptionConst.PDF + "," + ExportOptionConst.XLS);
if(This.GetExportOption() == "All" || This.GetExportOption() == "ByPrintable") {
This.SetExportOption(ExportOptionConst.Nothing);
This.SetExportOption("JPG,PDF,XLS");
}
Available Events :
OnAddToPage, OnBind, OnEndBind, OnInitialize, OnStartBind
See also :