Spread Windows Forms 15.0
GrapeCity.Spreadsheet Assembly / GrapeCity.Drawing Namespace / IDrawingCacheable Interface / GetImageDrawing Method
The image data.
The image link.
The size of the shape
The current zoom scale.
if set to true, the cached object must be returned.


In This Topic
    GetImageDrawing Method
    In This Topic
    Get the image drawing for the image shape.
    Syntax
    'Declaration
     
    
    Function GetImageDrawing( _
       ByVal mediaData As Stream, _
       ByVal url As String, _
       ByVal rectSize As Size, _
       ByVal zoomScale As Double, _
       ByVal cacheOnly As Boolean _
    ) As ImageDrawing
    'Usage
     
    
    Dim instance As IDrawingCacheable
    Dim mediaData As Stream
    Dim url As String
    Dim rectSize As Size
    Dim zoomScale As Double
    Dim cacheOnly As Boolean
    Dim value As ImageDrawing
     
    value = instance.GetImageDrawing(mediaData, url, rectSize, zoomScale, cacheOnly)

    Parameters

    mediaData
    The image data.
    url
    The image link.
    rectSize
    The size of the shape
    zoomScale
    The current zoom scale.
    cacheOnly
    if set to true, the cached object must be returned.

    Return Value

    The image drawing that related to the shape.
    See Also