[]
        
(Showing Draft Content)

GrapeCity.Spreadsheet.Drawing.IFillFormat.UserPicture

UserPicture Method

UserPicture(string, bool)

Fills the shape with an image.

Declaration
void UserPicture(string file, bool embedded = true)
Sub UserPicture(file As String, Optional embedded As Boolean = True)
Parameters
Type Name Description
string file

The file path to the picture file, or the name of the picture file if a link to the picture file currently exists.

bool embedded

A boolean value indicates whether the image will be embedded.

UserPicture(Stream)

Fills the shape with an image.

Declaration
void UserPicture(Stream stream)
Sub UserPicture(stream As Stream)
Parameters
Type Name Description
Stream stream

The binary data of the picture.