[]
        
(Showing Draft Content)

GrapeCity.Spreadsheet.UI.UIManager.ResolveImageData

ResolveImageData Method

ResolveImageData(IMedia, out int, out int)

Loads the image data.

Declaration
protected virtual bool ResolveImageData(IMedia media, out int width, out int height)
Protected Overridable Function ResolveImageData(media As IMedia, ByRef width As Integer, ByRef height As Integer) As Boolean
Parameters
Type Name Description
IMedia media

The IMedia object contains image binary data.

int width

The image width in pixels.

int height

The image height in pixels.

Returns
Type Description
bool

true if the image data is loaded successful; otherwise, false.

ResolveImageData(string)

Loads the image data.

Declaration
protected virtual Stream ResolveImageData(string path)
Protected Overridable Function ResolveImageData(path As String) As Stream
Parameters
Type Name Description
string path
Returns
Type Description
Stream

true if the image data is loaded successful; otherwise, false.