Cette documentation est archivée et n’est pas conservée.

Frames.Add Method

Returns a Frame object that represents a new frame added to a range, selection, or document.

Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)

Dim Range As Range
Dim returnValue As Frame
Dim frames1 As Frames
returnValue = frames1.Add(Range)

Frame Add(
	[In] Range Range
public Frame Add(
	/*in*/Range Range
function Add(
	 Range : Range
) : Frame;



Required Range object. The range that you want the frame to surround.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms