[]
Represents the text content of a Shape and associates that textual information, referred to as a text frame story, with a story identifier.
public class TextFrame : ContentObject, IBrowsable<TextFrame>
Gets the text frame format properties.
public TextFrameFormat Format { get; }
Gets the identifier of the text frame story.
public ushort ID { get; }
Gets a read-only list of all linked text frames in this text frame story, in correct order.
public IReadOnlyList<LinkedTextFrame> LinkedTextFrames { get; }
Gets the next text frame.
public TextFrame Next { get; }
Gets the parent shape.
public Shape ParentShape { get; }
Gets the previous text frame.
public TextFrame Previous { get; }
Adds a ContentControl to the end of the text frame.
public ContentControl AddContentControl(ContentControlType type, bool fillContent = true)
type ContentControlTypeThe new content control type.
fillContent boolWhether to fill the new control content with default data.
The added ContentControl.
Adds a Paragraph to the end of the text frame.
public Paragraph AddParagraph()
Adds a Paragraph to the end of the text frame.
public Paragraph AddParagraph(Style style)
style StyleThe paragraph style.
Adds a Paragraph to the end of the text frame.
public Paragraph AddParagraph(string text)
Adds a Paragraph to the end of the text frame.
public Paragraph AddParagraph(string text, Style style)
Adds a Table to the end of the text frame.
public Table AddTable()
Adds a Table to the end of the text frame.
public Table AddTable(Style style)
style StyleThe table style.
Adds a Table to the end of the text frame.
public Table AddTable(int columns, int rows)
Adds a Table to the end of the text frame.
public Table AddTable(int columns, int rows, Style style)
columns intThe number of columns in the new table.
rows intThe number of rows in the new table.
style StyleThe table style.
Adds a Table to the end of the text frame.
public Table AddTable(string[][] texts)
texts string[][]A two dimensional array of texts to put in the cells. The first dimension determines the number of rows, the second the number of cells.
Adds a Table to the end of the text frame.
public Table AddTable(string[][] texts, Style style)
texts string[][]A two dimensional array of texts to put in the cells. The first dimension determines the number of rows, the second the number of cells.
style StyleThe table style.