[]
        
(Showing Draft Content)

C1.Excel.XLImage

XLImage Class

Contains differnet images used in the workbook.

Inheritance
XLImage
Namespace: C1.Excel
Assembly: C1.Excel.dll
Syntax
public class XLImage
Public Class XLImage

Constructors

Name Description
XLImage()

Create a image object.

XLImage(Image)

Create a image object.

Properties

Name Description
Format

Gets the ImageFormat value for this image.

Height

Gets the height of the image, in pixels.

HorizontalResolution

Gets the horizontal resolution of the image, in dots per inch.

VerticalResolution

Gets the vertical resolution of the image, in dots per inch.

Width

Gets the width of the image, in pixels.

Methods

Name Description
FromBitmap(GcBitmap)

Convert a bitmap object to the image in memory.

FromBytes(byte[])

Convert a image data to the image in memory.

FromFile(string)

Creates a XLImage from the specified file.

FromImage(IImage)

Convert a image interface to the image in memory.

FromImage(Image)

Convert a image to the image in memory.

FromStream(Stream, int, int)

Creates a XLImage from the specified stream.

FromText(string)

Convert a bitmap object to the image in memory.

GetImageSizeInTwips(XLImage)

Gets a image size in twips.

ToBinaryData()

Gets a binary data fot this image.

ToDrawingImage()

Gets an approximate GrapeCity.Documents.Drawing.Image object.

Operators

Name Description
implicit operator Image(XLImage)

Convert implicitly XLImage to GrapeCity.Documents.Drawing.Image object.