SaveImage(MemoryStream,Boolean) Method
Saves a System.IO.MemoryStream in the TempDirectory with the format set in chart.ImageFormat chart control.
Syntax
'Declaration Public Overloads Function SaveImage( _ ByVal memoryStream As MemoryStream, _ ByVal fileSaved As Boolean _ ) As String
'Usage Dim instance As FileManager Dim memoryStream As MemoryStream Dim fileSaved As Boolean Dim value As String value = instance.SaveImage(memoryStream, fileSaved)
public string SaveImage( MemoryStream memoryStream, bool fileSaved )
Parameters
- memoryStream
- fileSaved
- for later chart display.
Return Value
Path of the saved file.
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