.netCHARTING v10.5 Documentation


dotnetCHARTING Namespace > FileManager Class > SaveImage Method : SaveImage(Metafile,Boolean) Method
System.Drawing.Imaging.Metafile to save.
for later chart display.
SaveImage(Metafile,Boolean) Method
Saves a System.Drawing.Imaging.Metafile in the TempDirectory and displays it in the chart control.
Syntax
'Declaration
 
Public Overloads Function SaveImage( _
   ByVal mf As Metafile, _
   ByVal fileSaved As Boolean _
) As String
'Usage
 
Dim instance As FileManager
Dim mf As Metafile
Dim fileSaved As Boolean
Dim value As String
 
value = instance.SaveImage(mf, fileSaved)
public string SaveImage( 
   Metafile mf,
   bool fileSaved
)

Parameters

mf
System.Drawing.Imaging.Metafile to save.
fileSaved
for later chart display.

Return Value

Path of the saved image.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also