Shapes.AddPicture(String, MsoTriState, MsoTriState, Single, Single, Single, Single) Method

Definition

public Microsoft.Office.Interop.MSProject.Shape AddPicture (string Filename, Microsoft.Office.Core.MsoTriState LinkToFile, Microsoft.Office.Core.MsoTriState SaveWithDocument, float Left, float Top, float Width = -1, float Height = -1);
Public Function AddPicture (Filename As String, LinkToFile As MsoTriState, SaveWithDocument As MsoTriState, Left As Single, Top As Single, Optional Width As Single = -1, Optional Height As Single = -1) As Shape

Parameters

Filename
String
LinkToFile
MsoTriState
SaveWithDocument
MsoTriState
Left
Single
Top
Single
Width
Single
Height
Single

Returns

Shape

Applies to