2 Replies Latest reply on Jun 7, 2012 5:29 PM by sovain

    ActiveView Trend SaveAs("temp", pbpdFILEFORMAT.pbpdFormatSVG) gives error

    sovain

      Hi guys,

       

      It seems that the function SaveAs in C# SDK for ActiveView is not working porperly.

       

      Using the code below I get the error attached.

       

      lifing_Trend_totaleoh_Display = ((AxPBDCtrl.AxPbd)lifing_trend_totaleoh).Display as PBObjLib.Display;
      lifing_Define_totaleoh_Trend = (PBSymLib.Trend)lifing_Trend_totaleoh_Display.Symbols.Add(PBObjLib.pbSYMBOLTYPE.pbSymbolTrend);

      lifing_Trend_totaleoh_Display.SaveAs("temp", pbpdFILEFORMAT.pbpdFormatSVG);

       

       Please help

       

      Oleg

       

      4370.1.JPG