ChartToImage Method (String)
public void ToImage( string imageFile )
Public Sub ToImage ( imageFile As String )
public: void ToImage( String^ imageFile )
member ToImage : imageFile : string -> unit
The format of the image is specified by using the extension of the file name. For example, if you specify "myfile.png", then the image will be saved in the PNG format. The following file extensions are recognized: .bmp, .gif, .png, .jpg, .jpeg, .tiff, .tif, .emf.If the width or height is zero or the chart is not supported according to Supported Charts List, this method will do nothing. Please refer to Supported Charts List for more details.