[]
Obtains an image of the current chart using the display size.
public Image GetImage()
| Type | Description |
|---|---|
| Image | Chart image created by an enhanced metafile of the chart. |
This method creates an image of the current chart display an returns an Image object. If an error occurs during the file creation, chart drawing and writing, an appropriate exception is thrown indicating the cause of error.
Obtains an image of the current chart using the specified size.
public Image GetImage(Size sz)
| Type | Name | Description |
|---|---|---|
| Size | sz | Image size in pixels. |
| Type | Description |
|---|---|
| Image | Chart image created by an enhanced metafile of the chart. |
This method creates an image of the current chart display an returns an Image object. If an error occurs during the file creation, chart drawing and writing, an appropriate exception is thrown indicating the cause of error.
Obtains an image of the current chart using the specified format and size.
public Image GetImage(ImageFormat imgFmt, Size sz)
| Type | Name | Description |
|---|---|---|
| ImageFormat | imgFmt | Image format. |
| Size | sz | Image size in pixels. |
| Type | Description |
|---|---|
| Image | Chart image. |
Obtains an image of the current chart using the specified format and the display size.
public Image GetImage(ImageFormat imgFmt)
| Type | Name | Description |
|---|---|---|
| ImageFormat | imgFmt | Image format. |
| Type | Description |
|---|---|
| Image | Chart image. |