Product : Engine, Version : 5.1.1.1041, ArticleID : 41024251

HowTo : How to point the “Save as type” to dwg 2004

Article41024251
TypeHowTo
ProductEngine
Version5.1.1.1041
Date Added6/23/2006
Submitted byPatrichi, Donald
Keywords

Subject

How to point the “Save as type” to dwg 2004

Summary

How to point the “Save as type” to dwg 2004

Solution

Just change the GetSaveFilterFormat event code to :

private void vdraw_GetSaveFileFilterFormat(object sender, AxVDProLib5._DVdrawEvents_GetSaveFileFilterFormatEvent e)
{
    String appPath = vdraw.GetUserValue("DrawingConvertAppPath","");
    if(appPath == ("")) return;
    String filetypes =("");
    filetypes += ("DWG 2004 (*.dwg)|*.dwg|");
    filetypes += ("|");
    filetypes += ("? 8 ");
    e.fileFilterFormats = filetypes;
}