Spread Windows Forms 13.0 Product Documentation
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Drawing Namespace / IShapes Interface / AddPicture Method


In This Topic
    AddPicture Method
    In This Topic
    Syntax
    'Declaration
     
    Function AddPicture( _
       ByVal fileName As String, _
       ByVal linkToFile As Boolean, _
       ByVal saveWithDocument As Boolean, _
       ByVal x As Double, _
       ByVal y As Double, _
       Optional ByVal width As Double, _
       Optional ByVal height As Double _
    ) As IShape
    'Usage
     
    Dim instance As IShapes
    Dim fileName As String
    Dim linkToFile As Boolean
    Dim saveWithDocument As Boolean
    Dim x As Double
    Dim y As Double
    Dim width As Double
    Dim height As Double
    Dim value As IShape
     
    value = instance.AddPicture(fileName, linkToFile, saveWithDocument, x, y, width, height)
    IShape AddPicture( 
       string fileName,
       bool linkToFile,
       bool saveWithDocument,
       double x,
       double y,
       double width,
       double height
    )

    Parameters

    fileName
    linkToFile
    saveWithDocument
    x
    y
    width
    height
    See Also