Sets the output properties of the report based on the parameters passed. Call this before calling CreateOutput().
public bool SetOutputToFile(string FileName, string Type, string SubType);
True if the parameters were correct or False if not.
The name and path of the file to output the report to. If the file already exists, it's overwritten.
The type of file to create. This is the same as a file extension: "PDF" for a PDF file, "XLS" for a Microsoft Excel file, "DOC" for a Microsoft Word file, "HTML" for an HTML file, and so forth (see the Output Options topic in the Stonefield Query help file for a list of the file types supported).
Since Stonefield Query can output either data-only or full format for Microsoft Excel, specify the type of file you want if you output to Excel: either "full" for full format, "data" for data-only or "spreadsheet" for a spreadsheet XLS file.
public bool SetOutputToFile(string FileName, string Type);
public bool SetOutputToFile(string FileName);
See also:Class Report
© Stonefield Software Inc., 2018 • Updated: 06/06/16
Comment or report problem with topic