Inserts a new drawing in a Text Control document.
public bool Add(DataVisualization.DrawingFrame drawingFrame, int textPosition);
Public Function Add(ByVal drawingFrame As DataVisualization.DrawingFrame, ByVal textPosition As Integer) As Boolean
public bool Add(DataVisualization.DrawingFrame drawingFrame, HorizontalAlignment alignment, int textPosition, FrameInsertionMode insertionMode);
Public Function Add(ByVal drawingFrame As DataVisualization.DrawingFrame, ByVal alignment As HorizontalAlignment, ByVal textPosition As Integer, _
ByVal insertionMode As FrameInsertionMode) As Boolean
public bool Add(DataVisualization.DrawingFrame drawingFrame, System.Drawing.Point location, int textPosition, FrameInsertionMode insertionMode);
Public Function Add(ByVal drawingFrame As DataVisualization.DrawingFrame, ByVal location As System.Drawing.Point, ByVal textPosition As Integer, _
ByVal insertionMode As FrameInsertionMode) As Boolean
public bool Add(DataVisualization.DrawingFrame drawingFrame, int page, System.Drawing.Point location, FrameInsertionMode insertionMode);
Public Function Add(ByVal drawingFrame As DataVisualization.DrawingFrame, ByVal page As Integer, ByVal location As System.Drawing.Point, _
ByVal insertionMode As FrameInsertionMode) As Boolean
public bool Add(DataVisualization.DrawingFrame drawingFrame, System.Drawing.Point location, FrameInsertionMode insertionMode);
Public Function Add(ByVal drawingFrame As DataVisualization.DrawingFrame, ByVal location As System.Drawing.Point, _
ByVal insertionMode As FrameInsertionMode) As Boolean
public bool Add(DataVisualization.DrawingFrame drawingFrame, FrameInsertionMode insertionMode);
Public Function Add(ByVal drawingFrame As DataVisualization.DrawingFrame, ByVal insertionMode As FrameInsertionMode) As Boolean
Parameter | Description | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
drawing |
Specifies the drawing and its frame to add. | ||||||||||
text |
Specifies the text position at which the drawing is to be inserted. If -1 is specified, the drawing is inserted at the current input position. | ||||||||||
alignment | Specifies the drawing's horizontal alignment. It can be one of the Horizontal
|
||||||||||
location | Specifies the location, in twips, at which the drawing is to be inserted. | ||||||||||
insertion |
Specifies how the text flow is handled. It can be one of the values of the Frame |
||||||||||
page | Specifies the number of a page beginning with 1 where the drawing is located. |
The return value is true, if the drawing could be added. Otherwise, it is false.
Learn more about the TXText