
## ToImage_String_ImageOrPrintOptions function

Creates the chart image and saves it to a file.The extension of the file name determines the format of the image.

```go

func (instance *Chart) ToImage_String_ImageOrPrintOptions(imagefile string, options *ImageOrPrintOptions)  error

```

## Remarks


## See Also

* Class [Chart](../)
* Library [Aspose.Cells for Go](../../)
