Class TextFrame
- Namespace
- MigraDoc.DocumentObjectModel.Shapes
- Assembly
- MigraDoc.DocumentObjectModel.dll
Represents a text frame that can be freely placed.
public class TextFrame : Shape
- Inheritance
-
objectTextFrame
- Inherited Members
- Extension Methods
Constructors
- TextFrame()
Initializes a new instance of the TextFrame class.
Properties
- Elements
The document elements that build the text frame’s content.
- Margin
Sets all margins in one step with the same value.
- MarginBottom
Gets or sets the Margin between the text frame’s content and its bottom edge.
- MarginLeft
Gets or sets the Margin between the text frame’s content and its left edge.
- MarginRight
Gets or sets the Margin between the text frame’s content and its right edge.
- MarginTop
Gets or sets the Margin between the text frame’s content and its top edge.
- Orientation
Gets or sets the text orientation for the text frame’s content.
- Values
Gets the underlying internal nullable values for the properties of this document object.
Methods
- Add(Paragraph)
Adds a new paragraph to the text frame.
- Add(Chart)
Adds a new chart to the text frame.
- Add(Image)
Adds a new image to the text frame.
- Add(Table)
Adds a new table to the text frame.
- AddBarcode()
Adds a new barcode to the text frame.
- AddChart()
Adds a new chart to the text frame.
- AddChart(ChartType)
Adds a new chart with the specified type to the text frame.
- AddImage(string)
Adds a new Image to the text frame.
- AddParagraph()
Adds a new paragraph to the text frame.
- AddParagraph(string)
Adds a new paragraph with the specified text to the text frame.
- AddTable()
Adds a new table to the text frame.
- Clone()
Creates a deep copy of this object.
- DeepCopy()
Implements the deep copy of the object.