Search
Table.LoadPicInCell Method
See Also
 



Loads an image from the specified file and assigns it to a cell's picture.

 Syntax

VB6  Copy Code

Public Sub LoadPicInCell( _
    ByVal FileName As String, _
    ByVal col As Long, _
    ByVal row As Long _
)

C++  Copy Code

public:
void LoadPicInCell (
    BSTR FileName,
    int col,
    int row
)

 Parameters

FileName

The name of the image file to load from.

col
The column that contains the cell.
row
The row that contains the cell.

 Remarks

Loads an image from a file into a table's cell. The file format can be any of OleLoadPicture supported image formats. You can also use the CellPicture property to set the image of a cell.

 See Also