Edytuj

Udostępnij za pośrednictwem


TextFrame.ValidLinkTarget(TextFrame) Method

Definition

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

public:
 bool ValidLinkTarget(Microsoft::Office::Interop::Word::TextFrame ^ TargetTextFrame);
public bool ValidLinkTarget (Microsoft.Office.Interop.Word.TextFrame TargetTextFrame);
abstract member ValidLinkTarget : Microsoft.Office.Interop.Word.TextFrame -> bool
Public Function ValidLinkTarget (TargetTextFrame As TextFrame) As Boolean

Parameters

TargetTextFrame
TextFrame

Required TextFrame object. The target text frame to which you'd like to link the specified text frame.

Returns

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.

Applies to