TextFrame.ValidLinkTarget Method

Determines whether the text frame of one shape can be linked to the text frame of another shape.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
Function ValidLinkTarget ( _
    TargetTextFrame As TextFrame _
) As Boolean
'Usage
Dim instance As TextFrame
Dim TargetTextFrame As TextFrame
Dim returnValue As Boolean

returnValue = instance.ValidLinkTarget(TargetTextFrame)
bool ValidLinkTarget(
    TextFrame TargetTextFrame
)

Parameters

Return Value

Type: System.Boolean

Remarks

The TextFrame property returns True if TargetTextFrame is a valid target. It returns False if TargetTextFrame already contains text or is already linked, or if the shape doesn't support attached text.

See Also

Reference

TextFrame Interface

TextFrame Members

Microsoft.Office.Interop.Word Namespace