Xbasic

Office::ExcelDocumentAddPicture Method

Syntax

.AddPicture as N (FileName as C)

Arguments

FileNameCharacter

 

Returns

resultNumeric

 

Description

Add a new picture to the document from the file specified. Formats supported include BMP, DIB, PNG, JPG and WMF Use the index value returned to reference the picture in other functions such as Office::Spreadsheet::SetPicture().