編輯

共用方式為


Footnotes.Add(Range, Object, Object) Method

Definition

Returns a Footnote object that represents a footnote added to a range.

public Microsoft.Office.Interop.Word.Footnote Add (Microsoft.Office.Interop.Word.Range Range, ref object Reference, ref object Text);
abstract member Add : Microsoft.Office.Interop.Word.Range * obj * obj -> Microsoft.Office.Interop.Word.Footnote
Public Function Add (Range As Range, Optional ByRef Reference As Object, Optional ByRef Text As Object) As Footnote

Parameters

Range
Range

Required Range object. The range marked for the endnote or footnote. This can be a collapsed range.

Reference
Object

Optional Object. The text for the custom reference mark. If this argument is omitted, Microsoft Word inserts an automatically numbered reference mark.

Text
Object

Optional Object. The text of the endnote or footnote.

Returns

Remarks

To specify a symbol for the Reference argument, use the syntax {FontName CharNum}. FontName is the name of the font that contains the symbol. Names of decorative fonts appear in the Font box in the Symbol dialog box (Insert menu). CharNum is the sum of 31 and the number corresponding to the position of the symbol you want to insert, counting from left to right in the table of symbols. For example, to specify an omega symbol (ω) at position 56 in the table of symbols in the Symbol font, the argument would be "{Symbol 87}".

Applies to