InlineShapes.AddSmartArt(SmartArtLayout, Object) 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.
Inserts a SmartArt graphic as an inline shape into the active document.
public Microsoft.Office.Interop.Word.InlineShape AddSmartArt (Microsoft.Office.Core.SmartArtLayout Layout, ref object Range);
abstract member AddSmartArt : Microsoft.Office.Core.SmartArtLayout * obj -> Microsoft.Office.Interop.Word.InlineShape
Public Function AddSmartArt (Layout As SmartArtLayout, Optional ByRef Range As Object) As InlineShape
Parameters
- Layout
- SmartArtLayout
A SmartArtLayout object that specifies the layout for the SmartArt graphic.
- Range
- Object
Specifies the text to which the SmartArt graphic is bound. If Range
is specified, the SmartArt graphic is positioned at the beginning of the first paragraph in the range. If this parameter is omitted, the range is selected automatically, and the SmartArt graphic is positioned relative to the top and left edges of the page.
Returns
The SmartArt graphic to insert.
Applies to
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk