Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
Purpose Summary. What is this page about?
This page demonstrates how to use the Aspose.Words TextBox class in Python via .NET to create and validate links between text boxes, determine a text box’s position in a sequence, and break existing links, with accompanying code examples.
In Aspose.Words, the TextBox class is used to specify how text is displayed inside a shape. It exposes a public property named Parent to get the parent shape for the text box so that the customer can find the linked Shape from the associated TextBox.
The TextBox class provides is_valid_link_target method in order to check whether the TextBox can be linked to the target Textbox.
The following code example shows how to check if the TextBox can be linked to the target Textbox:
There are several ways to display text in a shape. The text_box can be the Head, Middle, or Tail of a sequence.
The following code example shows how to check if TextBox is a Head, Tail, or Middle of the sequence:
Using the text_box method you can break the link to the next TextBox.
The following code example shows how to break a link for a TextBox:
Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.