[]
Saves an chart image of the specified format and size to the specified stream.
public void SaveImage(Stream stream, ImageFormat imgFmt, Size sz)
| Type | Name | Description |
|---|---|---|
| Stream | stream | Stream. |
| ImageFormat | imgFmt | Image format. |
| Size | sz | Image size in pixels. |
This method creates an image of the specified format of the current chart display and saves the results to the specified stream. If an error occurs, an appropriate exception is thrown indicating the cause of error.
Saves an chart image of the specified format to the specified stream.
public void SaveImage(Stream stream, ImageFormat imgFmt)
| Type | Name | Description |
|---|---|---|
| Stream | stream | Stream. |
| ImageFormat | imgFmt | Image format |
This method creates an image of the specified format of the current chart display and saves the results to the specified stream. The size of the current display, in pixels, is used. If an error occurs, an appropriate exception is thrown indicating the cause of error.
Saves an chart image of the specified format and size to the specified byte array.
public void SaveImage(ref byte[] byteArray, ImageFormat imgFmt, Size sz)
| Type | Name | Description |
|---|---|---|
| byte[] | byteArray | Byte array. |
| ImageFormat | imgFmt | Image format. |
| Size | sz | Image size in pixels. |
This method creates an image of the specified format and size of the current chart display and saves the results to the specified byte array. If an error occurs, an appropriate exception is thrown indicating the cause of error.
Saves an chart image of the specified format to the specified byte array.
public void SaveImage(ref byte[] byteArray, ImageFormat imgFmt)
| Type | Name | Description |
|---|---|---|
| byte[] | byteArray | Byte array. |
| ImageFormat | imgFmt | Image format. |
This method creates an image of the specified format and the current display size and saves the results to the specified byte array. If an error occurs, an appropriate exception is thrown indicating the cause of error.
Saves an chart image of the specified format and size to the clipboard.
public void SaveImage(ImageFormat imgFmt, Size sz)
| Type | Name | Description |
|---|---|---|
| ImageFormat | imgFmt | Image format. |
| Size | sz | Image size in pixels. |
This method creates an image of the specified format and size and saves the results to the clipboard. If an error occurs, an appropriate exception is thrown indicating the cause of error.
Saves an chart image of the specified format and display size to the clipboard.
public void SaveImage(ImageFormat imgFmt)
| Type | Name | Description |
|---|---|---|
| ImageFormat | imgFmt | Image format. |
This method creates an image of the specified format and display size and saves the results to the clipboard. If an error occurs, an appropriate exception is thrown indicating the cause of error.
Saves an chart image of the specified format and size to the specified file.
public void SaveImage(string filename, ImageFormat imgFmt, Size sz)
| Type | Name | Description |
|---|---|---|
| string | filename | File name. |
| ImageFormat | imgFmt | Image format. |
| Size | sz | Image size in pixels. |
This method creates an image of the specified format and size and saves the results to the specified file. If an error occurs, an appropriate exception is thrown indicating the cause of error.
Saves an chart image of the specified format and display size to the specified file.
public void SaveImage(string filename, ImageFormat imgFmt)
| Type | Name | Description |
|---|---|---|
| string | filename | File name. |
| ImageFormat | imgFmt | Image format |
This method creates an image of the specified format and display size and saves the results to the specified file. If an error occurs, an appropriate exception is thrown indicating the cause of error.