編輯

共用方式為


BuildingBlock.Insert(Range, Object) Method

Definition

Inserts the value of a building block into a document and returns a Range object that represents the contents of the building block within the document.

public Microsoft.Office.Interop.Word.Range Insert (Microsoft.Office.Interop.Word.Range Where, ref object RichText);
abstract member Insert : Microsoft.Office.Interop.Word.Range * obj -> Microsoft.Office.Interop.Word.Range
Public Function Insert (Where As Range, Optional ByRef RichText As Object) As Range

Parameters

Where
Range

The location of where to place the contents of the building block.

RichText
Object

True inserts the building block as rich, formatted text. False inserts the building block as plain text.

Returns

Range

Applies to