[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IWorksheet.ToImage

ToImage Method

ToImage(string)

将工作表保存到指定的图像文件。

Declaration
void ToImage(string imageFile)
Parameters
Type Name Description
string imageFile

输出的图像文件。

ToImage(string, ImageSaveOptions)

使用指定选项将工作表保存到指定的图像文件。

Declaration
void ToImage(string imageFile, ImageSaveOptions options)
Parameters
Type Name Description
string imageFile

输出的图像文件。

ImageSaveOptions options

输出图像的选项。

ToImage(Stream, ImageType)

将工作表保存到指定的图像流。

Declaration
void ToImage(Stream stream, ImageType imageType)
Parameters
Type Name Description
Stream stream

指定的图像流。

ImageType imageType

指定要创建的图像类型。

ToImage(Stream, ImageType, ImageSaveOptions)

使用指定选项将工作表保存到指定的图像流。

Declaration
void ToImage(Stream stream, ImageType imageType, ImageSaveOptions options)
Parameters
Type Name Description
Stream stream

指定的图像流。

ImageType imageType

指定要创建的图像类型。

ImageSaveOptions options

输出图像的选项。