Xbasic
Office::Excel2003DocumentAddPicture Method
Syntax
.AddPicture as N (FileName as C)
.AddPicture as N (Image as B)
Arguments
- FileNameCharacter
The image file to add to the document. Formats supported include BMP, DIB, PNG, JPG and WMF.
- ImageBinary
The image as a blob value to add to the document. Formats supported include BMP, DIB, PNG, JPG and WMF.
Returns
- resultNumeric
Returns an index value that can be used to reference the image in other functions such as Office::Spreadsheet::SetPicture().
Description
Add a new picture to the document. The image can be specified as a file name or blob value.
See Also