CanvasShapes.AddPicture 方法

定义

public Microsoft.Office.Core.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.Core.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

返回

适用于