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)
Usage
Dim Range As Range
Dim returnValue As Frame
Dim frames1 As Frames
returnValue = frames1.Add(Range)
Syntax
Function Add( _
<InAttribute()> ByVal Range As Range _
) As Frame
Frame Add(
[In] Range Range
);
public: Frame^ Add(
Range^ Range
);
public Frame Add(
/*in*/Range Range
);
function Add(
Range : Range
) : Frame;
Parameters
- Range
Required Range object. The range that you want the frame to surround.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000
Target Platforms
See Also
Reference
Frames Interface
Microsoft.Office.Interop.Word Namespace