Chart.GetBytes Method
Returns a chart image as a byte array.
Namespace: System.Web.Helpers
Assembly: System.Web.Helpers (in System.Web.Helpers.dll)
Syntax
'Declaration
Public Function GetBytes ( _
format As String _
) As Byte()
'Usage
Dim instance As Chart
Dim format As String
Dim returnValue As Byte()
returnValue = instance.GetBytes(format)
public byte[] GetBytes(
string format
)
public:
array<unsigned char>^ GetBytes(
String^ format
)
member GetBytes :
format:string -> byte[]
public function GetBytes(
format : String
) : byte[]
Parameters
- format
Type: System.String
The image format. The default is "jpeg".
Return Value
Type: System.Byte[]
The chart.