Sets the output properties of the report based on the parameters passed. Call this before calling CreateOutput().
public bool SetOutputToFile(string FileName, string Type);
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).
public bool SetOutputToFile(string FileName, string Type, string SubType);
public bool SetOutputToFile(string FileName);