Spread Windows Forms 17
FarPoint.Win.Spread Assembly / GrapeCity.Spreadsheet.Win Namespace / Factory Class / CreateImageDrawing Method / CreateImageDrawing(Int32,Int32,CopyPictureFormat,Boolean,IDrawingCacheable) Method
The image width.
The image height.
The picture format.


In This Topic
    CreateImageDrawing(Int32,Int32,CopyPictureFormat,Boolean,IDrawingCacheable) Method
    In This Topic
    Gets the image drawing.
    Syntax
    'Declaration
     
    
    Public Overloads Overrides NotOverridable Function CreateImageDrawing( _
       ByVal width As Integer, _
       ByVal height As Integer, _
       Optional ByVal format As CopyPictureFormat, _
       Optional ByVal compatible As Boolean, _
       Optional ByVal shapeData As IDrawingCacheable _
    ) As ImageDrawing
    'Usage
     
    
    Dim instance As Factory
    Dim width As Integer
    Dim height As Integer
    Dim format As CopyPictureFormat
    Dim compatible As Boolean
    Dim shapeData As IDrawingCacheable
    Dim value As ImageDrawing
     
    value = instance.CreateImageDrawing(width, height, format, compatible, shapeData)

    Parameters

    width
    The image width.
    height
    The image height.
    format
    The picture format.
    compatible
    shapeData

    Return Value

    The GrapeCity.Drawing.ImageDrawing object which can be used to draw an image.
    See Also