[]
Obtains an image of the current chart using the display size.
public Image GetImage()
Public Function GetImage() As Image
| 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)
Public Function GetImage(sz As Size) As Image
| 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)
Public Function GetImage(imgFmt As ImageFormat, sz As Size) As Image
| 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)
Public Function GetImage(imgFmt As ImageFormat) As Image
| Type | Name | Description |
|---|---|---|
| ImageFormat | imgFmt | Image format. |
| Type | Description |
|---|---|
| Image | Chart image. |