Shapes.AddPicture 方法

定义

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);
abstract member AddPicture : string * Microsoft.Office.Core.MsoTriState * Microsoft.Office.Core.MsoTriState * single * single * single * single -> Microsoft.Office.Interop.MSProject.Shape
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

参数

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

返回

适用于