sovain

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

Discussion created by sovain on Jun 7, 2012
Latest reply on Jun 7, 2012 by 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

 

 

Outcomes