Shapes.AddPicture2 Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public Microsoft.Office.Core.Shape AddPicture2 (string FileName, Microsoft.Office.Core.MsoTriState LinkToFile, Microsoft.Office.Core.MsoTriState SaveWithDocument, float Left, float Top, float Width = -1, float Height = -1, Microsoft.Office.Core.MsoPictureCompress Compress = Microsoft.Office.Core.MsoPictureCompress.msoPictureCompressDocDefault);
abstract member AddPicture2 : string * Microsoft.Office.Core.MsoTriState * Microsoft.Office.Core.MsoTriState * single * single * single * single * Microsoft.Office.Core.MsoPictureCompress -> Microsoft.Office.Core.Shape
Public Function AddPicture2 (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, Optional Compress As MsoPictureCompress = Microsoft.Office.Core.MsoPictureCompress.msoPictureCompressDocDefault) As Shape
Parameters
- FileName
- String
- LinkToFile
- MsoTriState
- SaveWithDocument
- MsoTriState
- Left
- Single
- Top
- Single
- Width
- Single
- Height
- Single
- Compress
- MsoPictureCompress