|
ChartExtensionsConvertToImageStream Method
|
Saves the chart to a memory stream using the given image
format and returns the stream, ready for reading.
Namespace: GSF.Windows.FormsAssembly: GSF.Windows (in GSF.Windows.dll) Version: 2.4.218-beta
Syntax GSF.Windows.Forms.ChartExtensions.ConvertToImageStream = function(chart, format);
View SourceParameters
- chart Chart
- The chart to be saved to the stream.
- format ChartImageFormat (Optional)
- The format to used to save the image.
Return Value
StreamThe stream containing the chart as an image.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Chart. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also