<< Click to Display Table of Contents >> Navigation: »No topics above this level« TOC : OZ e-Form Extension > OZ e-Form JavaScript API > Input > TextBox > Method >SetExportOption |
Sets saving options for report exporting.
Prototype :
void SetExportOption
(
string ExportOption
)
Arguments :
ExportOption |
refer to ExportOptionConst for multiple options, use comma(,) as the separator. |
Reference :
If you want the component should be saved as the specific format, you have to set to disable for all formats at first.
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 :
All Events
See also :