This method prompts the user for a file type to use when saving a document in a document manager.
string GetSaveAsExtDlg ( string docExt )
Parameters | Description |
docExt | This is the file name extension (.hpt, .hft, .rtf, .dot, .wpt) of the template being assembled. Depending on what type of template is assembled, the options in the Save As dialog box will change. It could also be an answer file type (.anx or .ans). |
The following Visual C# example displays the Save in Document Manager dialog box:
public class ExampleCode { static void Main() { HotDocs.Application app = new HotDocs.Application(); HotDocs._Assembly3 asm = app.ActiveAssembly as HotDocs._Assembly3; string ext = ".rtf"; string fileType; fileType = asm.GetSaveAsExtDlg(ext); } }